@vonk=http://localhost:4080
POST {{vonk}}/administration/reset
###
POST {{vonk}}
Content-Type:application/fhir+json
Accept:application/fhir+json
{
"resourceType": "Bundle",
"id": "transaction1",
"meta": {
"lastUpdated": "2014-08-18T01:43:30Z"
},
"type": "transaction",
"entry": [
{
"fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0a",
"resource": {
"resourceType": "Patient",
"id":"temporary-1",
"text": {
"status": "generated",
"div": "
Some narrative
"
},
"active": true,
"identifier": [
{
"system":"http://ids.my.org",
"value":"0987654321"
}
],
"name": [
{
"family": [
"Dickens"
],
"given": [
"Charles"
]
}
],
"gender": "male",
"birthDate": "1974-12-25"
},
"request": {
"method": "POST",
"url": "Patient",
"ifNoneExist":"identifier=0987654321"
}
},
{
"fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b",
"resource": {
"resourceType": "Observation",
"id": "weight1",
"text": {
"status": "generated",
"div": "Generated Narrative with Details
id: example
status: final
category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})
code: Body Weight (Details : {LOINC code '29463-7' = 'Body weight', given as 'Body Weight'}; {LOINC code '3141-9' = 'Body weight Measured', given as 'Body weight Measured'}; {SNOMED CT code '27113001' = 'Body weight', given as 'Body weight'}; {http://acme.org/devices/clinical-codes code 'body-weight' = 'body-weight', given as 'Body Weight'})
subject: Patient/example
context: Encounter/example
effective: 28/03/2016
value: 185 lbs (Details: UCUM code [lb_av] = 'lb_av')
"
},
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "29463-7",
"display": "Body Weight"
}
]
},
"subject": {
"reference": "Patient?identifier=0987654321"
},
"effectiveDateTime": "2016-03-28",
"valueQuantity": {
"value": 185,
"unit": "lbs",
"system": "http://unitsofmeasure.org",
"code": "[lb_av]"
}
},
"request": {
"method": "POST",
"url": "Observation"
}
}
]
}
###
POST {{vonk}}
Content-Type:application/fhir+json
Accept:application/fhir+json
{
"resourceType": "Bundle",
"id": "transaction2",
"meta": {
"lastUpdated": "2014-08-18T01:43:30Z"
},
"type": "transaction",
"entry": [
{
"fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0a",
"resource": {
"resourceType": "Patient",
"id":"temporary-2",
"text": {
"status": "generated",
"div": "Some narrative
"
},
"active": true,
"identifier": [
{
"system":"http://ids.my.org",
"value":"0987654321"
}
],
"name": [
{
"family": [
"Dickens"
],
"given": [
"Charles"
]
}
],
"gender": "male",
"birthDate": "1974-12-25"
},
"request": {
"method": "POST",
"url": "Patient",
"ifNoneExist":"identifier=0987654321"
}
},
{
"fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b",
"resource": {
"resourceType": "Observation",
"id": "weight2",
"text": {
"status": "generated",
"div": "Generated Narrative with Details
id: example
status: final
category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})
code: Body Weight (Details : {LOINC code '29463-7' = 'Body weight', given as 'Body Weight'}; {LOINC code '3141-9' = 'Body weight Measured', given as 'Body weight Measured'}; {SNOMED CT code '27113001' = 'Body weight', given as 'Body weight'}; {http://acme.org/devices/clinical-codes code 'body-weight' = 'body-weight', given as 'Body Weight'})
subject: Patient/example
context: Encounter/example
effective: 28/03/2016
value: 185 lbs (Details: UCUM code [lb_av] = 'lb_av')
"
},
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "29463-7",
"display": "Body Weight"
}
]
},
"subject": {
"reference": "Patient?identifier=0987654321"
},
"effectiveDateTime": "2016-03-28",
"valueQuantity": {
"value": 190,
"unit": "lbs",
"system": "http://unitsofmeasure.org",
"code": "[lb_av]"
}
},
"request": {
"method": "POST",
"url": "Observation"
}
}
]
}
###
GET {{vonk}}/Patient?_id=b06ac9b4-3fcd-48d0-8107-20b359f2bba5&_revinclude=Observation:patient
Accept:application/fhir+json
###
GET {{vonk}}/Observation
Accept:application/fhir+json