Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrlangford committed Jul 23, 2023
1 parent 679bfef commit 79fcd11
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 27 deletions.
21 changes: 9 additions & 12 deletions input/fsh/examples.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ Description: "Lab Order example"
* identifier[FILL].type.coding.display = "Filler Identifier"
* instantiatesCanonical = Canonical(LabOrderTaskActivityExample)
* basedOn[0] = Reference(HIVServiceRequestExample)
* basedOn[1] = Reference(SampleDisptachedToLabTaskExample)
* basedOn[2] = Reference(ResultDisptachedTaskExample)
* basedOn[1] = Reference(SampleDispatchedToLabExample)
* status = #requested
* intent = #order
* executionPeriod.start = "2022-07-28"
Expand All @@ -196,8 +195,8 @@ Description: "Lab Result Task example"
* identifier[FILL].type.text = "Lab order number"
* instantiatesCanonical = Canonical(LabOrderTaskActivityExample)
* basedOn[0] = Reference(HIVServiceRequestExample)
* basedOn[1] = Reference(SampleDisptachedToLabTaskExample)
* basedOn[2] = Reference(ResultDisptachedTaskExample)
* basedOn[1] = Reference(SampleDispatchedToLabExample)
* basedOn[2] = Reference(ResultDispatchedToRequestingFacilityExample)
* status = #completed
* intent = #order
* executionPeriod.end = "2022-07-30"
Expand All @@ -223,8 +222,7 @@ Description: "HIV Lab Order Cancellation Task example"
* identifier[FILL].type.coding.display = "Filler Identifier"
* instantiatesCanonical = Canonical(LabOrderTaskActivityExample)
* basedOn[0] = Reference(HIVServiceRequestExample)
* basedOn[1] = Reference(SampleDisptachedToLabTaskExample)
* basedOn[2] = Reference(ResultDisptachedTaskExample)
* basedOn[1] = Reference(SampleDispatchedToLabExample)
* status = #cancelled
* statusReason.concept = $SCT#281264009
* statusReason.concept.text = "Reason For Canceling/Rejecting the Lab Order"
Expand All @@ -249,8 +247,7 @@ Description: "HIV Lab Order Rejection Task example"
* identifier[FILL].type.coding.display = "Filler Identifier"
* instantiatesCanonical = Canonical(LabOrderTaskActivityExample)
* basedOn[0] = Reference(HIVServiceRequestExample)
* basedOn[1] = Reference(SampleDisptachedToLabTaskExample)
* basedOn[2] = Reference(ResultDisptachedTaskExample)
* basedOn[1] = Reference(SampleDispatchedToLabExample)
* status = #rejected
* statusReason.concept = $SCT#123840003
* statusReason.concept.text = "Reason For Canceling/Rejecting the Lab Order"
Expand Down Expand Up @@ -420,8 +417,8 @@ Description: "HIV lab order task activity."
* approvalDate = "2023-01-01"
* specimenRequirement = Canonical(SpecimenConservationExample)

Instance: SampleDisptachedToLabTaskExample
InstanceOf: SampleDisptachedToLabTask
Instance: SampleDispatchedToLabExample
InstanceOf: SampleDispatchedToLab
Usage: #example
Title: "Sample Dispatched to Lab Task"
Description: "Sample dispatched to lab task."
Expand Down Expand Up @@ -535,8 +532,8 @@ Description: "Repeat Viral Load Suppression example"
* note.time = "2015-02-07T13:28:17-05:00"
* performer = Reference(HIVOrganizationExample)

Instance: ResultDisptachedTaskExample
InstanceOf: ResultDisptachedTask
Instance: ResultDispatchedToRequestingFacilityExample
InstanceOf: ResultDispatchedToRequestingFacility
Usage: #example
Title: "Result Dispatched"
Description: "Result Dispatched"
Expand Down
10 changes: 0 additions & 10 deletions input/fsh/hiv-bundle-submit-emr.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@ Description: "HIV Submit EMR Bundle Example"
* entry[=].request.method = #PUT
* entry[=].request.url = "Device/TestingPlatformExample"

* entry[+].fullUrl = "Transport/SampleDisptachedToLabTaskExample"
* entry[=].resource = SampleDisptachedToLabTaskExample
* entry[=].request.method = #PUT
* entry[=].request.url = "Transport/SampleDisptachedToLabTaskExample"

* entry[+].fullUrl = "Transport/ResultDisptachedTaskExample"
* entry[=].resource = ResultDisptachedTaskExample
* entry[=].request.method = #PUT
* entry[=].request.url = "Transport/ResultDisptachedTaskExample"

* entry[+].fullUrl = "Observation/HIVTestResultAbsoluteDecimalExample"
* entry[=].resource = HIVTestResultAbsoluteDecimalExample
* entry[=].request.method = #PUT
Expand Down
7 changes: 6 additions & 1 deletion input/fsh/hiv-bundle-submit-lab-order.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ Description: "HIV Submit Lab Order Bundle Example"
* entry[+].fullUrl = "SpecimenDefinition/SpecimenConservationExample"
* entry[=].resource = SpecimenConservationExample
* entry[=].request.method = #PUT
* entry[=].request.url = "SpecimenDefinition/SpecimenConservationExample"
* entry[=].request.url = "SpecimenDefinition/SpecimenConservationExample"

* entry[+].fullUrl = "Transport/SampleDispatchedToLabExample"
* entry[=].resource = SampleDispatchedToLabExample
* entry[=].request.method = #PUT
* entry[=].request.url = "Transport/SampleDispatchedToLabExample"
7 changes: 6 additions & 1 deletion input/fsh/hiv-bundle-submit-lab-rejection.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ Description: "HIV Submit Lab Rejection Bundle Example"
* entry[+].fullUrl = "Task/HIVLabOrderRejectionTaskExample"
* entry[=].resource = HIVLabOrderRejectionTaskExample
* entry[=].request.method = #PUT
* entry[=].request.url = "Task/HIVLabOrderRejectionTaskExample"
* entry[=].request.url = "Task/HIVLabOrderRejectionTaskExample"

* entry[+].fullUrl = "Transport/SampleDispatchedToLabExample"
* entry[=].resource = SampleDispatchedToLabExample
* entry[=].request.method = #PUT
* entry[=].request.url = "Transport/SampleDispatchedToLabExample"
12 changes: 11 additions & 1 deletion input/fsh/hiv-bundle-submit-lab-result.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,14 @@ Description: "HIV Submit Lab Result Bundle Example"
* entry[+].fullUrl = "ActivityDefinition/LabOrderTaskActivityExample"
* entry[=].resource = LabOrderTaskActivityExample
* entry[=].request.method = #PUT
* entry[=].request.url = "ActivityDefinition/LabOrderTaskActivityExample"
* entry[=].request.url = "ActivityDefinition/LabOrderTaskActivityExample"

* entry[+].fullUrl = "Transport/SampleDispatchedToLabExample"
* entry[=].resource = SampleDispatchedToLabExample
* entry[=].request.method = #PUT
* entry[=].request.url = "Transport/SampleDispatchedToLabExample"

* entry[+].fullUrl = "Transport/ResultDispatchedToRequestingFacilityExample"
* entry[=].resource = ResultDispatchedToRequestingFacilityExample
* entry[=].request.method = #PUT
* entry[=].request.url = "Transport/ResultDispatchedToRequestingFacilityExample"
4 changes: 2 additions & 2 deletions input/fsh/profiles.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Description: "Specimen conservation information."
* typeTested.handling.maxDuration 1..1
* typeTested.handling.instruction 0..1 MS

Profile: SampleDisptachedToLabTask
Profile: SampleDispatchedToLab
Parent: Transport
Id: sample-dispatched-to-lab
Title: "Sample Dispatched to Lab Task"
Expand Down Expand Up @@ -627,7 +627,7 @@ Description: "Repeat lab results."
* performer 1..*
* note 0..* MS

Profile: ResultDisptachedTask
Profile: ResultDispatchedToRequestingFacility
Parent: Transport
Id: result-dispatched-to-facility
Title: "Result Dispatched"
Expand Down

0 comments on commit 79fcd11

Please sign in to comment.