Skip to content

Instantly share code, notes, and snippets.

View KevinMayfield's full-sized avatar

Kevin Mayfield KevinMayfield

  • Leeds, West Riding, UK
View GitHub Profile
<GraphDefinition xmlns="http://hl7.org/fhir">
<id value="3"/>
<url value="http://fhir.nhs.uk/fhir/GraphDefinition/ITK-eDischarge-1"/>
<name value="ITK eDischarge Graph Definition"/>
<status value="draft"/>
<date value="2015-08-04T00:00:00+00:00"/>
<publisher value="Kevin Mayfield"/>
<!-- <profile value="https://fhir.nhs.uk/STU3/MessageDefinition/ITK-eDischarge-MessageDefinition-Instance-1"/> -->
<contact>
<telecom>
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<id value="307df70b-8e25-4408-b2eb-be23582e6689"/>
<type value="message"/>
<entry>
<fullUrl value="urn:uuid:5899ec4f-ce2f-49dd-b44c-39819b593888"/>
<resource>
<MessageHeader>
<id value="5899ec4f-ce2f-49dd-b44c-39819b593888"/>
<event>
<Bundle xmlns="http://hl7.org/fhir">
<id value="a63ec43d-887f-477d-b461-80dbbb139fc6"></id>
<meta>
<profile value="https://fhir.nhs.uk/StructureDefinition/ADW-Message-Bundle-1"></profile>
</meta>
<type value="message"></type>
<entry>
<fullUrl value="urn:uuid:19db5f65-1bad-4ce1-be05-92ff79ab1c8f"></fullUrl>
<resource>
<MessageHeader xmlns="http://hl7.org/fhir">
<ValueSet xmlns="http://hl7.org/fhir">
<id value="d84d1ea0-c1d3-4aa9-817e-91ac4404735f"></id>
<meta>
<lastUpdated value="2017-06-05T13:50:00.000+01:00"></lastUpdated>
</meta>
<url value="https://fhir.nhs.uk/ValueSet/ADW-MessageEvent-1"></url>
<version value="1.0.0"></version>
<name value="ADW Message Event"></name>
<status value="active"></status>
<publisher value="NHS Digital"></publisher>
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "warning",
"code": "business-rule",
"diagnostics": "No FHIR package extension found",
"location": [
"OAS: info.extensions.x-HL7-FHIR-NpmPackages"
]
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "warning",
"code": "processing",
"diagnostics": "None of the codings provided are in the value set https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationCode (https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationCode), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = http://snomed.info/sct#15517911000001104)",
"location": [
"Bundle.entry[1].resource.ofType(MedicationRequest).medication.ofType(CodeableConcept)",
"Line 1, Col 2429",
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: _history",
"location": [
"OAS: /ServiceRequest/get/_history"
]
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: _history",
"location": [
"OAS: /ServiceRequest/get/_history"
]
{
"resourceType": "Bundle",
"id": "7fbd2029-975c-43d3-9738-47ae7d5ca4fc",
"identifier": {
"system": "https://tools.ietf.org/html/rfc4122",
"value": "7fbd2029-975c-43d3-9738-47ae7d5ca4fc"
},
"type": "message",
"entry": [
{
{
"resourceType": "Bundle",
"id": "3d0c9cc7-60ea-44e0-9ee8-765abbb660dd",
"identifier": {
"system": "https://fhir.mytrust.nhs.uk/Id/RCB/PAS",
"value": "13403891320453338075"
},
"type": "message",
"timestamp": "2021-09-17T12:20:00.742000+00:00",
"entry": [