Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrlangford committed Aug 16, 2023
1 parent c267fdf commit 602ce82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 1 addition & 3 deletions input/fsh/examples.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ InstanceOf: HIVLabTask
Usage: #example
Title: "HIV VL Lab Order Task"
Description: "Represents a New Lab Order."
* extension[ResultStatusIndex].valueInteger = 1
* identifier[FILL].system = "http://openhie.org/fhir/rwanda-hiv/lab-integration/order-number"
* identifier[FILL].value = "ORDER12345"
* identifier[FILL].type.coding.code = #FILL
Expand Down Expand Up @@ -215,7 +214,6 @@ InstanceOf: HIVLabTask
Usage: #example
Title: "HIV VL Lab Order Task"
Description: "Represents HIV Lab Order Cancellation."
* extension[ResultStatusIndex].valueInteger = 2
* identifier[FILL].system = "http://openhie.org/fhir/rwanda-hiv/lab-integration/order-number"
* identifier[FILL].value = "ORDER12345"
* identifier[FILL].type.coding.code = #FILL
Expand All @@ -239,7 +237,7 @@ InstanceOf: HIVLabTask
Usage: #example
Title: "HIV VL Lab Order Task"
Description: "Represents HIV Lab Order Rejection"
* extension[ResultStatusIndex].valueInteger = 3
* extension[SampleRejectedIndex].valueInteger = 2
* identifier[FILL].system = "http://openhie.org/fhir/rwanda-hiv/lab-integration/order-number"
* identifier[FILL].value = "ORDER12345"
* identifier[FILL].type.coding.code = #FILL
Expand Down
9 changes: 9 additions & 0 deletions input/fsh/profiles.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ Description: "The result status index."
* ^context[0].type = #element
* ^context[0].expression = "Task"

Extension: SampleRejectedIndex
Id: sample-rejected-index
Title: "Sample Rejected Index"
Description: "The sample rejection index."
* value[x] only integer
* ^context[0].type = #element
* ^context[0].expression = "Task"

Profile: HIVLabTask
Parent: Task
Id: hiv-lab-task
Expand Down Expand Up @@ -269,6 +277,7 @@ Description:
* output.type.text = "Viral Load Result"
* output.valueReference 1..1
* extension contains ResultStatusIndex named ResultStatusIndex 0..1 MS
* extension contains SampleRejectedIndex named SampleRejectedIndex 0..1 MS

Profile: HIVDiagnosticReport
Parent: DiagnosticReport
Expand Down

0 comments on commit 602ce82

Please sign in to comment.