Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrlangford committed Jul 18, 2024
1 parent c78cc2f commit 71446ba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
8 changes: 4 additions & 4 deletions input/fsh/examples.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,7 @@ Description: "Used to record the OI medication (Fluconazole) that will be prescr
* code.text = "Fluconazole"

Instance: ReferralWithinFacilityExample
InstanceOf: HIVReferralInServiceRequest
InstanceOf: ReferralInServiceRequest
Usage: #example
Title: "Service Request - Incoming Referral From Within Facility - (Existing ART Client)"
Description: "Used to capture a pateint's referral information."
Expand All @@ -1912,10 +1912,10 @@ Description: "Used to capture a pateint's referral information."
* requester = Reference(GeneralPractitionerExample)
* performer = Reference(CurrentServiceProviderExample)
* locationReference = Reference(EncounterLocationANCExample)
* reasonCode = $LNC#LA6517-2
* reasonCode[HIVReferral] = $LNC#LA6517-2

Instance: ReferralFromOutsideFacilitytExample
InstanceOf: HIVReferralInServiceRequest
InstanceOf: ReferralInServiceRequest
Usage: #example
Title: "Service Request - Incoming Referral From Outside Facility - (New ART Client)"
Description: "Used to capture a pateint's referral information."
Expand All @@ -1929,7 +1929,7 @@ Description: "Used to capture a pateint's referral information."
* requester = Reference(GeneralPractitionerExample)
* performer = Reference(CurrentServiceProviderExample)
* locationReference = Reference(EncounterLocationHIVTestingExample)
* reasonCode = $LNC#LA6517-2
* reasonCode[HIVReferral] = $LNC#LA6517-2

Instance: HIVStatusDisclosureAtEnrollmentExample
InstanceOf: HIVStatusDisclosureAtEnrollment
Expand Down
18 changes: 14 additions & 4 deletions input/fsh/profiles.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -1551,16 +1551,26 @@ Description: "Used to record the OI medication that will be prescribed to the pa
* code from OpportunisticInfectionsTreatmentValueSet (required)
* code.text 1..1

Profile: HIVReferralInServiceRequest
Profile: ReferralInServiceRequest
Parent: GenericServiceRequest
Id: referral-in-service-request
Title: "Service Request - Incoming Referral Information"
Description: "Used to capture a patient's referral information."
* code = $LNC#39267-0
* authoredOn 1..1
* requester 1..1
* reasonCode 1..1
* reasonCode from ReferralReasonValueSet (required)
* reasonCode 1..*

* insert Slice(reasonCode, reasons why this should be supported, value, coding, open, Slicing the reason code based on the coding value, false)

* reasonCode contains
HIVReferral 0..1 MS

* valueCodeableConcept[HIVReferral] ^definition =
"reason(s) why this should be supported."
* valueCodeableConcept[HIVReferral] 1..1
* valueCodeableConcept[HIVReferral] from ReferralReasonValueSet (required)

* locationReference 1..1

Profile: HIVStatusDisclosureAtEnrollment
Expand Down Expand Up @@ -1795,7 +1805,7 @@ Description: "Records the health related activities for patients associated with

* referralRequest[Incoming] ^definition =
"reason(s) why this should be supported."
* referralRequest[Incoming] only Reference(HIVReferralInServiceRequest)
* referralRequest[Incoming] only Reference(ReferralInServiceRequest)

* referralRequest[Outgoing] ^definition =
"reason(s) why this should be supported."
Expand Down

0 comments on commit 71446ba

Please sign in to comment.