Skip to content

Commit

Permalink
Merge pull request #270 from hl7ch/develop
Browse files Browse the repository at this point in the history
add SR-Container example
  • Loading branch information
lpg-tech authored Jun 26, 2023
2 parents f8c5061 + 85570e0 commit 94b85a2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions input/fsh/instances/LabOrder-ServiceRequest-container-example.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Instance: LabOrder-ServiceRequest-container-example
InstanceOf: ChLabOrderSRContainer
Title: "LabOrder Service Request for Electrolytes in Serum"
Description: "Example for Service Request as container for multiple Service Requests"
Usage: #example
* id = "LabOrder-container-example"
* identifier[placerOrderIdentifier].type = $v2-0203#PLAC "Placer Identifier"
* identifier[placerOrderIdentifier].system = "urn:oid:2.16.756.5.30"
* identifier[placerOrderIdentifier].value = "123"

// der SR referenziert auf 3 weitere SR
* basedOn[0] = Reference(LabOrder-ServiceRequest-creatinine-clearance)
* basedOn[+] = Reference(LabOrder-ServiceRequest-electrolytes)

// ---- grouperID, must be repeated in all dependent SR ----
* requisition.type = $v2-0203#PLAC "Placer Identifier"
* requisition.system = "urn:oid:2.16.756.5.30"
* requisition.value = "ReqID-1234567"

* status = #active
* intent = #original-order
* category = $servicerequest-categories#RequestForLabExam "Anforderung Laboruntersuchung"

* priority = #urgent
* subject = Reference(Patient/HansGuggindieluft)
* requester = Reference(MarcMustermannArztpraxis)
* reasonCode = $sct#404223003
* reasonCode.text = "Deep venous thrombosis of lower extremity"
* insurance = Reference(HealthInsuranceCard)
* specimen[0] = Reference(Specimen/Serum) "Serum specimen"
// * specimen[+] = Reference(Specimen/Blood)
2 changes: 1 addition & 1 deletion input/fsh/profiles/ChLabOrderSRcontainer.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Description: "Definition for ServiceRequest Container in the context of CH LAB-O
* ^copyright = "CC-BY-SA-4.0"

// ---- instantiates Canonical
* instantiatesCanonical 1.. MS
* instantiatesCanonical 0.. MS

// * Is based On ChLabOrderSRSingletest or other SRContainer
* basedOn 1.. MS
Expand Down

0 comments on commit 94b85a2

Please sign in to comment.