Skip to content

Commit

Permalink
updated publish script to add current version to all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
healthedata1 committed Nov 9, 2023
1 parent f1a2633 commit 8b5433f
Show file tree
Hide file tree
Showing 4 changed files with 291 additions and 268 deletions.
114 changes: 57 additions & 57 deletions input/examples/example-targeted-provenance.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
{
"resourceType": "Provenance",
"id": "example-targeted-provenance",
"meta": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-name",
"valueString": "Targeted Provenance Example"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-description",
"valueMarkdown": "This is a provenance example for the *US Core Provenance Profile* to demonstrate how Provenance can be used to document the source of individual elements such as Race and Ethnicity (R/E), gender identity."
}
],
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"
]
},
"target": [
{
"reference": "Patient/example-targeted-provenance",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/targetElement",
"valueUri": "race"
}
]
}
"resourceType": "Provenance",
"id": "example-targeted-provenance",
"meta": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-name",
"valueString": "Targeted Provenance Example"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-description",
"valueMarkdown": "This is a provenance example for the *US Core Provenance Profile* to demonstrate how Provenance can be used to document the source of individual elements such as Race and Ethnicity (R/E), gender identity."
}
],
"recorded": "2023-02-28T15:26:23.217+00:00",
"agent": [
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|0.1.0"
]
},
"target": [
{
"reference": "Patient/example-targeted-provenance",
"extension": [
{
"role": [
{
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110150",
"display": "Application"
}
]
}
],
"who": {
"display": "My_Form"
}
},
"url": "http://hl7.org/fhir/StructureDefinition/targetElement",
"valueUri": "race"
}
]
}
],
"recorded": "2023-02-28T15:26:23.217+00:00",
"agent": [
{
"role": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"code": "informant",
"display": "Informant"
}
]
},
"who": {
"reference": "Patient/example-targeted-provenance"
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110150",
"display": "Application"
}
]
}
]
}
],
"who": {
"display": "My_Form"
}
},
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"code": "informant",
"display": "Informant"
}
]
},
"who": {
"reference": "Patient/example-targeted-provenance"
}
}
]
}
214 changes: 107 additions & 107 deletions input/examples/patient-deceased-example.json
Original file line number Diff line number Diff line change
@@ -1,118 +1,118 @@
{
"resourceType": "Patient",
"id": "deceased-example",
"meta": {
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-name",
"valueString": "Deceased Patient Example"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-description",
"valueMarkdown": "This is a deceased patient example for the *US Core Patient Profile*."
}
]
},
"resourceType": "Patient",
"id": "deceased-example",
"meta": {
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|0.1.0"
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-name",
"valueString": "Deceased Patient Example"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-description",
"valueMarkdown": "This is a deceased patient example for the *US Core Patient Profile*."
}
]
},
"extension": [
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
"extension": [
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2106-3",
"display": "White"
}
},
{
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2028-9",
"display": "Asian"
}
},
{
"url": "text",
"valueString": "Mixed"
}
]
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2106-3",
"display": "White"
}
},
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2186-5",
"display": "Not Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Not Hispanic or Latino"
}
]
}
],
"identifier": [
{
"use": "usual",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical Record Number"
}
],
"text": "Medical Record Number"
},
"system": "http://hospital.smarthealthit.org",
"value": "55555555"
}
],
"active": true,
"name": [
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2028-9",
"display": "Asian"
}
},
{
"family": "Shaw",
"given": [
"Mary",
"A."
]
"url": "text",
"valueString": "Mixed"
}
],
"telecom": [
]
},
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
"extension": [
{
"system": "phone",
"value": "555-555-5555",
"use": "home"
"url": "ombCategory",
"valueCoding": {
"system": "urn:oid:2.16.840.1.113883.6.238",
"code": "2186-5",
"display": "Not Hispanic or Latino"
}
},
{
"system": "email",
"value": "[email protected]"
"url": "text",
"valueString": "Not Hispanic or Latino"
}
],
"gender": "female",
"birthDate": "1937-10-21",
"deceasedDateTime": "2022-07-22",
"address": [
{
"line": [
"49 Meadow St"
],
"city": "Mounds",
"state": "OK",
"postalCode": "74047",
"country": "US",
"period": {
"start": "2016-12-06"
}
}
]
}
]
}
],
"identifier": [
{
"use": "usual",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical Record Number"
}
],
"text": "Medical Record Number"
},
"system": "http://hospital.smarthealthit.org",
"value": "55555555"
}
],
"active": true,
"name": [
{
"family": "Shaw",
"given": [
"Mary",
"A."
]
}
],
"telecom": [
{
"system": "phone",
"value": "555-555-5555",
"use": "home"
},
{
"system": "email",
"value": "[email protected]"
}
],
"gender": "female",
"birthDate": "1937-10-21",
"deceasedDateTime": "2022-07-22",
"address": [
{
"line": [
"49 Meadow St"
],
"city": "Mounds",
"state": "OK",
"postalCode": "74047",
"country": "US",
"period": {
"start": "2016-12-06"
}
}
]
}
Loading

0 comments on commit 8b5433f

Please sign in to comment.