diff --git a/lib/resources/example_json/r4_examples_document_reference.rb b/lib/resources/example_json/r4_examples_document_reference.rb index 7578fa6a0..c90eb9dae 100644 --- a/lib/resources/example_json/r4_examples_document_reference.rb +++ b/lib/resources/example_json/r4_examples_document_reference.rb @@ -388,6 +388,124 @@ module Resources } } } + }, + { + 'resourceType': 'DocumentReference', + 'id': '201318478', + 'meta': { + 'versionId': '1', + 'lastUpdated': '2022-12-08T08: 26: 36.000Z' + }, + 'text': { + 'status': 'generated', + 'div': '

Document Reference

'\ + '

Patient Name: GETEST, PatientOneHundredSixtySix

'\ + '

Document Type: Admission Note Physician

'\ + '

Service Start Date: Dec 7, 2022 6:51 A.M. UTC

'\ + '

Service End Date: Dec 7, 2022 6:51 A.M. UTC

'\ + '

Document Status: Final

Verifying Provider: SYSTEM, SYSTEM Cerner

' + }, + 'identifier': [ + { + 'system': 'https: //fhir.cerner.com/ceuuid', + 'value': 'CE87caf4b7-9397-4667-9897-702218017c9e-201318478-2022120808263700' + } + ], + 'status': 'current', + 'docStatus': 'final', + 'type': { + 'coding': [ + { + 'system': 'https: //fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/72', + 'code': '2820507', + 'display': 'Admission Note Physician', + 'userSelected': true + }, + { + 'system': 'http: //loinc.org', + 'code': '83805-2', + 'display': 'Physician Admission evaluation note', + 'userSelected': false + } + ], + 'text': 'Admission Note Physician' + }, + 'category': [ + { + 'coding': [ + { + 'system': 'http://loinc.org', + 'code': 'LP29684-5', + 'display': 'Radiology', + 'userSelected': false + } + ], + 'text': 'Radiology' + }, + { + 'coding': [ + { + 'system': 'http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category', + 'code': 'clinical-note', + 'display': 'Clinical Note', + 'userSelected': false + } + ], + 'text': 'Clinical Note' + } + ], + 'subject': { + 'reference': 'Patient/12769853', + 'display': 'GETEST, PatientOneHundredSixtySix' + }, + 'date': '2022-12-08T08: 26: 36Z', + 'author': [ + { + 'reference': 'Practitioner/1', + 'display': 'SYSTEM, SYSTEM Cerner' + } + ], + 'authenticator': { + 'reference': 'Practitioner/1', + 'display': 'SYSTEM, SYSTEM Cerner' + }, + 'content': [ + { + 'attachment': { + 'contentType': 'application/xhtml+xml', + 'url': 'https: //fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/R-201318478', + 'creation': '2022-12-07T06: 51: 22.000Z' + }, + 'format': { + 'system': 'http: //ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem', + 'code': 'urn:ihe:iti:xds: 2017:mimeTypeSufficient', + 'display': 'mimeType Sufficient' + } + }, + { + 'attachment': { + 'contentType': 'application/xml', + 'url': 'https: //fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/XML-201318478', + 'creation': '2022-12-07T06: 51: 22.000Z' + }, + 'format': { + 'system': 'http: //ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem', + 'code': 'urn:ihe:iti:xds: 2017:mimeTypeSufficient', + 'display': 'mimeType Sufficient' + } + } + ], + 'context': { + 'period': { + 'start': '2022-12-07T06: 51: 22Z', + 'end': '2022-12-07T06: 51: 22Z' + }, + 'related': [ + { + 'reference': 'DiagnosticReport/201318478' + } + ] + } } ] }.freeze diff --git a/lib/resources/example_json/r4_examples_observation.rb b/lib/resources/example_json/r4_examples_observation.rb index 6c0ce663d..fd506dd74 100644 --- a/lib/resources/example_json/r4_examples_observation.rb +++ b/lib/resources/example_json/r4_examples_observation.rb @@ -494,6 +494,151 @@ module Resources ] } }, + { + 'fullUrl': 'https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Observation/L-206310347', + 'resource': { + 'resourceType': 'Observation', + 'id': 'L-206310347', + 'meta': { + 'versionId': '1', + 'lastUpdated': '2023-10-30T17:04:50.000Z' + }, + 'text': { + 'status': 'generated', + 'div': '

Observation

'\ + '

Patient Id: 12724066

Status: Final

'\ + '

Code: Glucose Level POC

Result: 181 mg/dL

'\ + '

Effective Date: Oct 30, 2023 5:04 P.M. UTC

' + }, + 'identifier': [ + { + 'system': 'https://fhir.cerner.com/ceuuid', + 'value': 'CE87caf4b7-9397-4667-9897-702218017c9e-206310347-2023103017044900' + } + ], + 'status': 'final', + 'category': [ + { + 'extension': [ + { + 'valueCode': 'unknown', + 'url': 'http://hl7.org/fhir/StructureDefinition/data-absent-reason' + } + ] + } + ], + 'code': { + 'coding': [ + { + 'system': 'https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/72', + 'code': '2552299163', + 'display': 'Glucose Level POC', + 'userSelected': true + }, + { + 'system': 'http://loinc.org', + 'code': '2339-0', + 'display': 'Glucose [Mass/volume] in Blood', + 'userSelected': false + } + ], + 'text': 'Glucose Level POC' + }, + 'subject': { + 'reference': 'Patient/12724066' + }, + 'effectiveDateTime': '2023-10-30T17:04:46.000Z', + 'valueQuantity': { + 'value': 181, + 'unit': 'mg/dL' + }, + 'note': [ + { + 'authorReference': { + 'reference': 'Practitioner/1' + }, + 'time': '2023-10-30T17:04:49Z', + 'text': 'Time : 2023-10-30T17:04:49.464400Z\n'\ + 'Author : SYSTEM, SYSTEM Cerner\nComment : Filed via Accuhealth' + } + ] + }, + 'search': { + 'mode': 'match' + } + }, + { + 'fullUrl': 'https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Observation/L-206310341', + 'resource': { + 'resourceType': 'Observation', + 'id': 'L-206310341', + 'meta': { + 'versionId': '1', + 'lastUpdated': '2023-10-30T17:04:45.000Z' + }, + 'text': { + 'status': 'generated', + 'div': '

Observation

'\ + '

Patient Id: 12724066

Status: Final

'\ + '

Code: Glucose Level POC

Result: 189 mg/dL

'\ + '

Effective Date: Oct 30, 2023 5:04 P.M. UTC

' + }, + 'identifier': [ + { + 'system': 'https://fhir.cerner.com/ceuuid', + 'value': 'CE87caf4b7-9397-4667-9897-702218017c9e-206310341-2023103017044500' + } + ], + 'status': 'final', + 'category': [ + { + 'extension': [ + { + 'valueCode': 'unknown', + 'url': 'http://hl7.org/fhir/StructureDefinition/data-absent-reason' + } + ] + } + ], + 'code': { + 'coding': [ + { + 'system': 'https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/72', + 'code': '2552299163', + 'display': 'Glucose Level POC', + 'userSelected': true + }, + { + 'system': 'http://loinc.org', + 'code': '2339-0', + 'display': 'Glucose [Mass/volume] in Blood', + 'userSelected': false + } + ], + 'text': 'Glucose Level POC' + }, + 'subject': { + 'reference': 'Patient/12724066' + }, + 'effectiveDateTime': '2023-10-30T17:04:42.000Z', + 'valueQuantity': { + 'value': 189 + }, + 'note': [ + { + 'authorReference': { + 'reference': 'Practitioner/1' + }, + 'time': '2023-10-30T17:04:45Z', + 'text': 'Time : 2023-10-30T17:04:45.459189Z\n'\ + 'Author : SYSTEM, SYSTEM Cerner\nComment : Filed via Accuhealth' + } + ] + }, + 'search': { + 'mode': 'match' + } + }, R4_OBSERVATION_ENTRY ] }.freeze