From 460714cf88f2e1e6b667dd67e1172e9cef65a234 Mon Sep 17 00:00:00 2001 From: Cibi Jacob Date: Wed, 8 Jan 2025 17:29:11 +0530 Subject: [PATCH] docs: update xslt file for fhir bundle generation to remove empty tags #947 --- .../specifications/ccda/cda-fhir-bundle.xslt | 51 ++++++++++--------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/support/specifications/ccda/cda-fhir-bundle.xslt b/support/specifications/ccda/cda-fhir-bundle.xslt index b8af254e38..23cc4f9a6d 100644 --- a/support/specifications/ccda/cda-fhir-bundle.xslt +++ b/support/specifications/ccda/cda-fhir-bundle.xslt @@ -7,19 +7,20 @@ - + - + + { "resourceType": "Bundle", - "id": "", + "id": "", "meta" : { "lastUpdated" : "", "profile" : ["http://shinny.org/us/ny/hrsn/StructureDefinition/SHINNYBundleProfile"] }, - "type" : "transaction", + "type" : "transaction", "timestamp" : "", "entry": [ @@ -31,7 +32,7 @@ , { - "fullUrl" : "http://shinny.org/us/ny/hrsn/Patient/", + "fullUrl" : "http://shinny.org/us/ny/hrsn/Patient/", "resource": { "resourceType": "Patient", "id": "", @@ -42,17 +43,19 @@ "language" : "", "name": [ { - "use": "official", - "family": "", - "given": [ - "" - ], - "prefix": [ - "" - ], - "suffix": [ - "" - ] + "use": "official" + + , "family": "" + + + , "given": [""] + + + , "prefix": [""] + + + , "suffix": [""] + } ], "gender": " @@ -131,7 +134,7 @@ }, "request" : { "method" : "POST", - "url" : "http://shinny.org/us/ny/hrsn/Patient/" + "url" : "http://shinny.org/us/ny/hrsn/Patient/" } } @@ -176,10 +179,10 @@ , { - "fullUrl" : "http://shinny.org/us/ny/hrsn/Consent/", + "fullUrl" : "http://shinny.org/us/ny/hrsn/Consent/", "resource": { "resourceType": "Consent", - "id": "", + "id": "", "meta" : { "lastUpdated" : "", "profile" : ["http://shinny.org/us/ny/hrsn/StructureDefinition/shinny-Consent"] @@ -189,7 +192,7 @@ { "coding": [ { - "system": "", + "system": "http://loinc.org", "code": "", "display": "" } @@ -206,7 +209,7 @@ }, "request" : { "method" : "POST", - "url" : "http://shinny.org/us/ny/hrsn/Consent/" + "url" : "http://shinny.org/us/ny/hrsn/Consent/" } } @@ -239,7 +242,7 @@ ], "name" : "", "address" : [{ - "text" : ", , ", + "text" : " | | | ", "line" : [""], "city" : "", "district" : "", @@ -279,7 +282,7 @@ }, "valueString": "", "subject": { - "reference": "Patient/" + "reference": "Patient/" }, "category": [{ "coding": [ @@ -322,4 +325,4 @@ } - + \ No newline at end of file