Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Merge mobile initiative with BS1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lorddev committed Sep 27, 2015
2 parents 37a534c + 2b847b9 commit c0088f0
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
namespace SnapMD.ConnectedCare.Sdk.Models
namespace SnapMD.ConnectedCare.ApiModels
{
public enum ConsultationEvents
{
Expand Down
15 changes: 15 additions & 0 deletions SnapMD.ConnectedCare.ApiModels/Sms/EncounterSms.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;

namespace SnapMD.ConnectedCare.ApiModels.Sms
{
public class EncounterSms
{
public int SmsId { get; set; }
public int ConsultationId { get; set; }
public ConsultationEvents EventId { get; set; }
public string MobilePhone { get; set; }
public DateTimeOffset Created { get; set; }
public DateTimeOffset? Sent { get; set; }
public SmsStatus Status { get; set; }
}
}
14 changes: 14 additions & 0 deletions SnapMD.ConnectedCare.ApiModels/Sms/SMSStatus.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace SnapMD.ConnectedCare.ApiModels.Sms
{
public enum SmsStatus
{
New = 0,
Pending = 1,
Sent = 2,
Failed = 3,
Invalid = 4,
ConsultationError = 5,
TemplateError = 6,
NoTextAlerts = 7
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<ItemGroup>
<Compile Include="ClinicianProfilesResult.cs" />
<Compile Include="CodeSetResponse.cs" />
<Compile Include="ConsultationEvents.cs" />
<Compile Include="DoctorRecord.cs" />
<Compile Include="HospitalRecord.cs" />
<Compile Include="PatientRecord.cs" />
Expand All @@ -78,6 +79,7 @@
<Compile Include="DocumentTypeCode.cs" />
<Compile Include="EncounterConcern.cs" />
<Compile Include="CustomCode.cs" />
<Compile Include="Sms\EncounterSms.cs" />
<Compile Include="FamilyMember.cs" />
<Compile Include="GetPatientsResponse.cs" />
<Compile Include="HospitalInfo.cs" />
Expand All @@ -99,6 +101,7 @@
<Compile Include="ScheduleSlot.cs" />
<Compile Include="SerializableToken.cs" />
<Compile Include="SerializableUser.cs" />
<Compile Include="Sms\SmsStatus.cs" />
<Compile Include="SoapNote.cs" />
<Compile Include="SurgeryRecord.cs" />
<Compile Include="UserProfilesResult.cs" />
Expand Down
1 change: 0 additions & 1 deletion SnapMD.ConnectedCare.Sdk/SnapMD.ConnectedCare.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
</Compile>
<Compile Include="Models\ApiResponse.cs" />
<Compile Include="HospitalApi.cs" />
<Compile Include="Models\ConsultationEvents.cs" />
<Compile Include="Models\ConsultationEventType.cs" />
<Compile Include="Models\IntakeConcern.cs" />
<Compile Include="Models\OnDemandRequest.cs" />
Expand Down

0 comments on commit c0088f0

Please sign in to comment.