From 19bbab1fabfe1023053e15ec304a5b82166c16d7 Mon Sep 17 00:00:00 2001 From: Cibi Jacob Date: Tue, 21 Jan 2025 12:43:48 +0530 Subject: [PATCH] docs: update xslt file with sexual orientation observation resource #947 --- .../specifications/ccda/cda-fhir-bundle.xslt | 355 ++++++++++++++---- 1 file changed, 272 insertions(+), 83 deletions(-) diff --git a/support/specifications/ccda/cda-fhir-bundle.xslt b/support/specifications/ccda/cda-fhir-bundle.xslt index 1d1663b0809..d4864b906e5 100644 --- a/support/specifications/ccda/cda-fhir-bundle.xslt +++ b/support/specifications/ccda/cda-fhir-bundle.xslt @@ -14,21 +14,50 @@ - + + - { - "resourceType": "Bundle", - "id": "", - "meta" : { - "lastUpdated" : "", - "profile" : ["http://shinny.org/us/ny/hrsn/StructureDefinition/SHINNYBundleProfile"] - }, - "type" : "transaction", - "timestamp" : "", - "entry": [ - + { + "resourceType": "Bundle", + "id": "", + "meta": { + "lastUpdated": "", + "profile": [ + "http://shinny.org/us/ny/hrsn/StructureDefinition/SHINNYBundleProfile" ] - } + }, + "type": "transaction" + + , "timestamp": " + + + + + + + + + + " + + , "entry": [ + + ] + } @@ -72,18 +101,17 @@ male female - ", - "birthDate": " - - - - + " + + , "birthDate": " + " + , "address": [ { @@ -150,7 +178,7 @@ }, { "url" : "text", - "valueString" : "" + "valueString" : "" }], "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" }, @@ -169,9 +197,9 @@ "text" : "Medical Record Number" }, "value" : "" - + , "assigner" : { - "reference" : "Organization/" + "reference" : "Organization/" } }, @@ -248,8 +276,56 @@ "display" : "" }, "period": { - "start": "", - "end": "" + "start": " + + + + + + + + + + ", + "end": " + + + + + + + + + + " } }, "request" : { @@ -275,7 +351,7 @@ , "scope" : { "coding" : [{ - "system" : "http://terminology.hl7.org/CodeSystem/consentscope", + "system" : "http://terminology.hl7.org/CodeSystem/consentscope", "code" : "", "display" : "" }], @@ -287,7 +363,7 @@ { "coding": [ { - "system": "http://loinc.org", + "system": "http://loinc.org", "code": "", "display": "" } @@ -296,30 +372,32 @@ ] - , "dateTime" : " - - - - - - - - - - - - - " - + , "dateTime" : " + + + + + + + + + + " + , "patient" : { "reference" : "Patient/" } @@ -423,9 +501,103 @@ } + + + + , + + { + "fullUrl" : "http://shinny.org/us/ny/hrsn/Observation/", + "resource": { + "resourceType": "Observation", + "id": "", + "meta" : { + "lastUpdated" : "", + "profile" : ["http://shinny.org/us/ny/hrsn/StructureDefinition/shinny-observation-sexual-orientation"] + }, + "status": "", + "category": [ + { + "coding": [{ + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "", + "display": "" + }] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "", + "display": "" + } + ], + "text" : "" + }, + + + "valueCodeableConcept" : { + "coding" : [{ + "system" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "code" : "UNK", + "display" : "Unknown" + }] + }, + + + "valueCodeableConcept" : { + "coding" : [{ + "system" : "http://loinc.org", + "code" : "", + "display" : "" + }] + }, + + + "subject": { + "reference": "Patient/", + "display" : "" + } + + , "effectiveDateTime" : " + + + + + + + + + + " + + }, + "request" : { + "method" : "POST", + "url" : "http://shinny.org/us/ny/hrsn/Observation/" + } + } + + + - - + + , { @@ -469,40 +641,57 @@ ], "text" : "" }, - "valueCodeableConcept" : { - "coding" : [{ - "system" : "http://loinc.org", - "code" : "", - "display" : "" - }] - }, + + + "valueCodeableConcept" : { + "coding" : [{ + "system" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "code" : "UNK", + "display" : "Unknown" + }] + }, + + + "valueCodeableConcept" : { + "coding" : [{ + "system" : "http://loinc.org", + "code" : "", + "display" : "" + }] + }, + + "subject": { "reference": "Patient/", "display" : "" - }, - "effectiveDateTime": " - - - - - - - - - - - - - " + } + + , "effectiveDateTime" : " + + + + + + + + + + " + }, "request" : { "method" : "POST",