4.0.0 - CI Build

Care Connect Messaging - Local Development build (v4.0.0). See the Directory of published versions

: Notification Discharge FHIR Message - TTL Representation

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "notification-discharge"];
  fhir:Bundle.identifier [
     fhir:Identifier.system [ fhir:value "https://fhir.mytrust.nhs.uk/Id/RCB/MATSYSTEM" ];
     fhir:Identifier.value [ fhir:value "13403891320453338089" ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:1e1e200b-8410-48b7-abe7-9e9e59eab067" ];
     fhir:Bundle.entry.resource <urn:oid:1e1e200b-8410-48b7-abe7-9e9e59eab067>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:d183a526-a507-458b-ac79-5c09b62e5c76" ];
     fhir:Bundle.entry.resource <urn:oid:d183a526-a507-458b-ac79-5c09b62e5c76>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:758da98d-81b8-42a7-9e7c-187ce09a138b" ];
     fhir:Bundle.entry.resource <urn:oid:758da98d-81b8-42a7-9e7c-187ce09a138b>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:521ce9b3-7698-44c6-aa04-01278c17221f" ];
     fhir:Bundle.entry.resource <urn:oid:521ce9b3-7698-44c6-aa04-01278c17221f>
  ].

<urn:oid:1e1e200b-8410-48b7-abe7-9e9e59eab067> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "1e1e200b-8410-48b7-abe7-9e9e59eab067"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "https://project-wildfyre.github.io/careconnect-messaging-r4/CodeSystem/message-events" ];
     fhir:Coding.code [ fhir:value "notification-discharge" ];
     fhir:Coding.display [ fhir:value "notification-discharge" ]
  ];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.name [ fhir:value "PAS" ];
     fhir:MessageHeader.destination.target [
       fhir:Reference.display [ fhir:value "PAS" ]     ];
     fhir:MessageHeader.destination.endpoint [ fhir:value "PAS" ]
  ];
  fhir:MessageHeader.sender [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ];
       fhir:Identifier.value [ fhir:value "RCB" ]     ];
     fhir:Reference.display [ fhir:value "RCB" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "MATSYSTEM" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "MATSYSTEM" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:oid:d183a526-a507-458b-ac79-5c09b62e5c76" ]
  ].

<urn:oid:d183a526-a507-458b-ac79-5c09b62e5c76> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "d183a526-a507-458b-ac79-5c09b62e5c76"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
  ];
  fhir:Encounter.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
     fhir:Identifier.value [ fhir:value "11554" ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "SS" ];
     fhir:Coding.display [ fhir:value "short stay" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdmissionMethod" ];
       fhir:Coding.code [ fhir:value "82" ]     ]
  ], [
     fhir:index 1;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1" ];
       fhir:Coding.code [ fhir:value "500" ]     ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "urn:oid:758da98d-81b8-42a7-9e7c-187ce09a138b" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.type [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
         fhir:Coding.code [ fhir:value "ATND" ];
         fhir:Coding.display [ fhir:value "attender" ]       ]     ];
     fhir:Encounter.participant.individual [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.hl7.org.uk/Id/gmc-number" ];
         fhir:Identifier.value [ fhir:value "C3456789" ]       ];
       fhir:Reference.display [ fhir:value "Dr Samuel Darwin" ]     ]
  ], [
     fhir:index 1;
     fhir:Encounter.participant.type [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
         fhir:Coding.code [ fhir:value "ADM" ];
         fhir:Coding.display [ fhir:value "admitter" ]       ]     ];
     fhir:Encounter.participant.individual [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.hl7.org.uk/Id/gmc-number" ];
         fhir:Identifier.value [ fhir:value "C3456789" ]       ];
       fhir:Reference.display [ fhir:value "Dr Samuel Darwin" ]     ]
  ], [
     fhir:index 2;
     fhir:Encounter.participant.type [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
         fhir:Coding.code [ fhir:value "CON" ];
         fhir:Coding.display [ fhir:value "consultant" ]       ]     ];
     fhir:Encounter.participant.individual [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.hl7.org.uk/Id/gmc-number" ];
         fhir:Identifier.value [ fhir:value "C3456789" ]       ];
       fhir:Reference.display [ fhir:value "Dr Samuel Darwin" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2010-03-30T11:00:00+01:00"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2010-03-31T17:15:00+01:00"^^xsd:dateTime ]
  ];
  fhir:Encounter.hospitalization [
     fhir:Encounter.hospitalization.admitSource [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://fhir.nhs.uk/R4/CodeSystem/UKCore-SourceOfAdmission" ];
         fhir:Coding.code [ fhir:value "79" ]       ]     ];
     fhir:Encounter.hospitalization.dischargeDisposition [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://fhir.nhs.uk/R4/CodeSystem/UKCore-DischargeMethod" ];
         fhir:Coding.code [ fhir:value "19" ]       ]     ]
  ];
  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "urn:oid:521ce9b3-7698-44c6-aa04-01278c17221f" ];
       fhir:Reference.display [ fhir:value "MATWRD" ]     ];
     fhir:Encounter.location.status [ fhir:value "active" ]
  ].

<urn:oid:758da98d-81b8-42a7-9e7c-187ce09a138b> a fhir:Patient;
  fhir:Resource.id [ fhir:value "758da98d-81b8-42a7-9e7c-187ce09a138b"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://fhir.nhs.uk/R4/CodeSystem/UKCore-NHSNumberVerificationStatus" ];
           fhir:Coding.code [ fhir:value "01" ]         ]       ]     ];
     fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/nhs-number" ];
     fhir:Identifier.value [ fhir:value "3333333333" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "SMITH" ];
     fhir:HumanName.given [
       fhir:value "FREDRICA";
       fhir:index 0     ];
     fhir:HumanName.prefix [
       fhir:value "MRS";
       fhir:index 0     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+441234567890" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1965-12-13"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.city [ fhir:value "MALTON" ];
     fhir:Address.district [ fhir:value "NORTH YORKSHIRE" ];
     fhir:Address.postalCode [ fhir:value "YO32 5TT" ]
  ];
  fhir:Patient.generalPractitioner [
     fhir:index 0;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.hl7.org.uk/Id/gmc-number" ];
       fhir:Identifier.value [ fhir:value "G5612908" ]     ];
     fhir:Reference.display [ fhir:value "Dr Gregory Townley" ]
  ];
  fhir:Patient.managingOrganization [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ];
       fhir:Identifier.value [ fhir:value "Y06601" ]     ];
     fhir:Reference.display [ fhir:value "MALTON GP PRACTICE" ]
  ].

<urn:oid:521ce9b3-7698-44c6-aa04-01278c17221f> a fhir:Location;
  fhir:Resource.id [ fhir:value "521ce9b3-7698-44c6-aa04-01278c17221f"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
  ];
  fhir:Location.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "https://fhir.myepr.co.uk/Id/Ward" ];
     fhir:Identifier.value [ fhir:value "MATWRD" ]
  ];
  fhir:Location.name [ fhir:value "MATWRD"];
  fhir:Location.managingOrganization [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ];
       fhir:Identifier.value [ fhir:value "RCB" ]     ]
  ];
  fhir:Location.partOf [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-site-code" ];
       fhir:Identifier.value [ fhir:value "RCB55" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.