From 5028e7cd580b96a9abcf84b2780f22562db501f4 Mon Sep 17 00:00:00 2001 From: Piotr Mankowski Date: Fri, 15 Apr 2022 07:40:03 -0700 Subject: [PATCH] Fixed test resources (#26) --- input/fsh/emr-lis-Examples.fsh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/input/fsh/emr-lis-Examples.fsh b/input/fsh/emr-lis-Examples.fsh index 4b375a54..44b4136b 100644 --- a/input/fsh/emr-lis-Examples.fsh +++ b/input/fsh/emr-lis-Examples.fsh @@ -55,6 +55,22 @@ Title: "Lab Order Task - Simple Requested" * authoredOn = "2021-02-20" * owner = Reference(example-laboratory-practitioner) +Instance: example-laboratory-task-simple-requested +InstanceOf: LaboratoryTask +Usage: #example +Description: "Example Simple Task for Requested Lab Orders" +Title: "Lab Order Task - Simple Requested" +* identifier.value = "88ffa7fb-0419-4097-8b45-24f0d843a5ea" +* identifier.system = "http://i-tech-uw.github.io/lab-workflow-ig/ext/task/identifier" +* basedOn[+] = Reference(example-laboratory-service-request) +* basedOn[=].type = "ServiceRequest" +* status = #completed +* intent = #order +* for = Reference(example-laboratory-patient) +* authoredOn = "2021-02-20" +* owner = Reference(example-laboratory-practitioner) + + Instance: example-laboratory-service-request InstanceOf: LaboratoryServiceRequest Usage: #example @@ -235,6 +251,20 @@ Title: "Laboratory Bundle" * entry[+].resource = example-laboratory-service-request-1 * entry[+].resource = example-laboratory-service-request-2 +Instance: example-laboratory-simple-result-bundle +InstanceOf: Bundle +Usage: #example +Description: "Example Full Laboratory Bundle" +Title: "Laboratory Bundle" +* type = #document +* entry[+].resource = example-laboratory-simple-composition +* entry[+].resource = example-laboratory-patient +* entry[+].resource = example-laboratory-practitioner +* entry[+].resource = example-laboratory-task-simple-completed +* entry[+].resource = example-laboratory-service-request +* entry[+].resource = example-laboratory-diagnostic-report +* entry[+].resource = example-laboratory-observation + Instance: example-transaction-response-bundle InstanceOf: Bundle Usage: #example