diff --git a/resources/uscore_bundle_patient_client_test.json b/resources/uscore_bundle_patient_client_test.json index 25cdffa..2923ae0 100644 --- a/resources/uscore_bundle_patient_client_test.json +++ b/resources/uscore_bundle_patient_client_test.json @@ -3315,6 +3315,157 @@ "method": "PUT", "url": "Observation/us-core-client-tests-observation-clinical-test" } + }, + { + "resource": { + "resourceType": "DocumentReference", + "id": "us-core-client-tests-adi-document-reference", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference|8.0.0" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-authentication-time", + "valueDateTime": "1941-09-05T01:11:45-04:00" + } + ], + "identifier": [ + { + "system": "https://github.com/inferno-framework/us-core-test-kit", + "value": "cf2587fa-6106-45f4-8264-fbe3d38853f5" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "86533-7", + "display": "Patient Living will" + } + ], + "text": "Patient Living Will" + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "42348-3", + "display": "Advance healthcare directives" + } + ], + "text": "Advance Directives" + } + ], + "subject": { + "reference": "Patient/us-core-client-tests-patient" + }, + "date": "2024-10-08T19:48:54.316108-07:00", + "author": [ + { + "reference": "Practitioner/us-core-client-tests-practitioner", + "display": "Dr. Patricia625 Kilback373" + } + ], + "authenticator": { + "reference": "Practitioner/us-core-client-tests-practitioner", + "display": "Dr. Patricia625 Kilback373" + }, + "content": [ + { + "attachment": { + "contentType": "application/pdf", + "data": "JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PC9UaXRsZSAoRXhhbXBsZSBvZiBhIExpdmluZyBXaWxsKQovQ3JlYXRvciAoTW96aWxsYS81LjAgXChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzdcKSBBcHBsZVdlYktpdC81MzcuMzYgXChLSFRNTCwgbGlrZSBHZWNrb1wpIENocm9tZS8xMjkuMC4wLjAgU2FmYXJpLzUzNy4zNikKL1Byb2R1Y2VyIChTa2lhL1BERiBtMTI5KQovQ3JlYXRpb25EYXRlIChEOjIwMjQxMDA0MTQ0MTUxKzAwJzAwJykKL01vZERhdGUgKEQ6MjAyNDEwMDQxNDQxNTErMDAnMDAnKT4+CmVuZG9iagozIDAgb2JqCjw8L2NhIDEKL0JNIC9Ob3JtYWw=", + "title": "Living Will (PDF)", + "creation": "1941-10-04" + }, + "format": { + "system": "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode", + "code": "urn:ihe:iti:xds-sd:pdf:2008", + "display": "ITI XDS-SD PDF" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "DocumentReference/us-core-client-tests-adi-document-reference" + } + }, + { + "resource": { + "resourceType": "Observation", + "id": "us-core-client-tests-observation-adi-documentation", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo", + "valueReference": { + "reference": "DocumentReference/us-core-client-tests-adi-document-reference", + "display": "Living Will" + } + } + ], + "identifier": [ + { + "system": "https://github.com/inferno-framework/us-core-test-kit", + "value": "23c5bf6a-b411-424a-b466-9dee7f4838df" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category", + "code": "observation-adi-documentation", + "display": "Observation ADI Documentation" + } + ], + "text": "Observation ADI Documentation" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "45473-6" + } + ] + }, + "subject": { + "reference": "Patient/us-core-client-tests-patient" + }, + "effectiveDateTime": "1941-09-05T01:11:45-04:00", + "issued": "1941-09-05T01:11:45-04:00", + "performer": [ + { + "reference": "Practitioner/us-core-client-tests-practitioner", + "display": "Dr. Patricia625 Kilback373" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "version": "http://snomed.info/sct/731000124108", + "code": "373066001", + "display": "Yes (qualifier value)" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Observation/us-core-client-tests-observation-adi-documentation" + } } ] } \ No newline at end of file