Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions fixtures/bundle-crucible-1-observation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"status": "final",
"meta": {
"tag": [
{
"system": "http://projectcrucible.org",
"code": "testdata"
}
]
},
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2"
}
]
},
"valueQuantity": {
"unit": "cm",
"system": "http://unitsofmeasure.org",
"value": 170
},
"subject": {
"reference": "urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"
},
"resourceType": "Observation"
}
141 changes: 141 additions & 0 deletions fixtures/bundle-crucible-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"resource": {
"resourceType": "Patient",
"name": [
{
"given": [
"Transaction"
],
"text": "Transaction Crucible",
"use": "official",
"family": "Crucible"
}
],
"identifier": [
{
"use": "official",
"system": "http://projectcrucible.org",
"value": "1527658235"
}
],
"meta": {
"tag": [
{
"system": "http://projectcrucible.org",
"code": "testdata"
}
]
}
},
"request": {
"method": "POST",
"url": "Patient"
},
"fullUrl": "urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"
},
{
"resource": {
"status": "final",
"meta": {
"tag": [
{
"system": "http://projectcrucible.org",
"code": "testdata"
}
]
},
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2"
}
]
},
"valueQuantity": {
"unit": "cm",
"system": "http://unitsofmeasure.org",
"value": 170
},
"subject": {
"reference": "urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"
},
"resourceType": "Observation"
},
"request": {
"method": "POST",
"url": "Observation"
},
"fullUrl": "urn:uuid:1e7132a0-57e7-4f36-9e5c-d170ac73be88"
},
{
"resource": {
"status": "final",
"meta": {
"tag": [
{
"system": "http://projectcrucible.org",
"code": "testdata"
}
]
},
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9"
}
]
},
"valueQuantity": {
"unit": "kg",
"system": "http://unitsofmeasure.org",
"value": 200
},
"subject": {
"reference": "urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"
},
"resourceType": "Observation"
},
"request": {
"method": "POST",
"url": "Observation"
},
"fullUrl": "urn:uuid:3ab925ed-01b7-423c-817d-ea6622717cc3"
},
{
"resource": {
"verificationStatus": "confirmed",
"meta": {
"tag": [
{
"system": "http://projectcrucible.org",
"code": "testdata"
}
]
},
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "414915002"
}
]
},
"subject": {
"reference": "urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"
},
"resourceType": "Condition"
},
"request": {
"method": "POST",
"url": "Condition"
},
"fullUrl": "urn:uuid:10c4484a-f74a-4477-ae29-6448cd7b88e4"
}
]
}
124 changes: 124 additions & 0 deletions fixtures/bundle-crucible-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@

<?xml version="1.0" encoding="utf-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<type value="transaction"/>
<entry>
<fullUrl value="urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"/>
<resource>
<Patient>
<meta>
<tag>
<system value="http://projectcrucible.org"/>
<code value="testdata"/>
</tag>
</meta>
<identifier>
<use value="official"/>
<system value="http://projectcrucible.org"/>
<value value="1527658235"/>
</identifier>
<name>
<use value="official"/>
<text value="Transaction Crucible"/>
<family value="Crucible"/>
<given value="Transaction"/>
</name>
</Patient>
</resource>
<request>
<method value="POST"/>
<url value="Patient"/>
</request>
</entry>
<entry>
<fullUrl value="urn:uuid:1e7132a0-57e7-4f36-9e5c-d170ac73be88"/>
<resource>
<Observation>
<meta>
<tag>
<system value="http://projectcrucible.org"/>
<code value="testdata"/>
</tag>
</meta>
<status value="final"/>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="8302-2"/>
</coding>
</code>
<subject>
<reference value="urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"/>
</subject>
<valueQuantity>
<value value="170"/>
<unit value="cm"/>
<system value="http://unitsofmeasure.org"/>
</valueQuantity>
</Observation>
</resource>
<request>
<method value="POST"/>
<url value="Observation"/>
</request>
</entry>
<entry>
<fullUrl value="urn:uuid:3ab925ed-01b7-423c-817d-ea6622717cc3"/>
<resource>
<Observation>
<meta>
<tag>
<system value="http://projectcrucible.org"/>
<code value="testdata"/>
</tag>
</meta>
<status value="final"/>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="3141-9"/>
</coding>
</code>
<subject>
<reference value="urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"/>
</subject>
<valueQuantity>
<value value="200"/>
<unit value="kg"/>
<system value="http://unitsofmeasure.org"/>
</valueQuantity>
</Observation>
</resource>
<request>
<method value="POST"/>
<url value="Observation"/>
</request>
</entry>
<entry>
<fullUrl value="urn:uuid:10c4484a-f74a-4477-ae29-6448cd7b88e4"/>
<resource>
<Condition>
<meta>
<tag>
<system value="http://projectcrucible.org"/>
<code value="testdata"/>
</tag>
</meta>
<verificationStatus value="confirmed"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="414915002"/>
</coding>
</code>
<subject>
<reference value="urn:uuid:547448f0-3292-4c93-a1b9-c55c65a710c7"/>
</subject>
</Condition>
</resource>
<request>
<method value="POST"/>
<url value="Condition"/>
</request>
</entry>
</Bundle>
Loading