3.0.0 - CI Build

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

ADT_A02 FHIR Message - TTL Representation

(back to description)

Raw ttl

Source view

@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 "adta02"];
  fhir:Bundle.identifier [
     fhir:Identifier.value [ fhir:value "13403891320453338079" ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:8f6eb68a-f312-4e3b-95eb-640f0dcc3448" ];
     fhir:Bundle.entry.resource <urn:oid:8f6eb68a-f312-4e3b-95eb-640f0dcc3448>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:ba869b7c-ad34-4a8b-a0d2-53e0627e6c84" ];
     fhir:Bundle.entry.resource <urn:oid:ba869b7c-ad34-4a8b-a0d2-53e0627e6c84>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:14e04822-9fd2-4343-8b27-b00d80588772" ];
     fhir:Bundle.entry.resource <urn:oid:14e04822-9fd2-4343-8b27-b00d80588772>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:6297eed2-7dcb-48c2-8340-738308a1999d" ];
     fhir:Bundle.entry.resource <urn:oid:6297eed2-7dcb-48c2-8340-738308a1999d>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:oid:7e72be04-056b-4179-8ab1-4b5043fd0eb6" ];
     fhir:Bundle.entry.resource <urn:oid:7e72be04-056b-4179-8ab1-4b5043fd0eb6>
  ].

<urn:oid:8f6eb68a-f312-4e3b-95eb-640f0dcc3448> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "8f6eb68a-f312-4e3b-95eb-640f0dcc3448"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 8f6eb68a-f312-4e3b-95eb-640f0dcc3448</p><p><b>event</b>: ADT^A02 (Details: [not stated] code ADT^A02 = 'ADT^A02', stated as 'ADT^A02')</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td></tr><tr><td>*</td><td>ROUTE</td></tr></table><p><b>sender</b>: RCB</p><p><b>timestamp</b>: 29 Nov 2010, 13:15:00</p><p><b>focus</b>: <a href=\"#backboneelement_ba869b7c-ad34-4a8b-a0d2-53e0627e6c84\">Generated Summary: unknown resource entry</a></p></div>"
  ];
  fhir:MessageHeader.event [
     fhir:Coding.code [ fhir:value "ADT^A02" ];
     fhir:Coding.display [ fhir:value "ADT^A02" ]
  ];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.name [ fhir:value "ROUTE" ]
  ];
  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.timestamp [ fhir:value "2010-11-29T13:15:00.000+00:00"^^xsd:dateTime];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:oid:ba869b7c-ad34-4a8b-a0d2-53e0627e6c84" ]
  ].

<urn:oid:ba869b7c-ad34-4a8b-a0d2-53e0627e6c84> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ba869b7c-ad34-4a8b-a0d2-53e0627e6c84"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: ba869b7c-ad34-4a8b-a0d2-53e0627e6c84</p><p><b>identifier</b>: 1223</p><p><b>status</b>: in-progress</p><p><b>class</b>: inpatient encounter (Details: http://hl7.org/fhir/v3/ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')</p><p><b>type</b>: 21 <span style=\"background: LightGoldenRodYellow\">(Details : {https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdmissionMethod code '21' = '21)</span>, 300 <span style=\"background: LightGoldenRodYellow\">(Details : {http://terminology.hl7.org.uk/CodeSystem/v2-0069 code '300' = '300)</span></p><p><b>subject</b>: <a href=\"#backboneelement_14e04822-9fd2-4343-8b27-b00d80588772\">Generated Summary: unknown resource entry</a></p><blockquote><p><b>participant</b></p><p><b>type</b>: attender <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/ParticipationType code 'ATND' = 'attender', given as 'attender'})</span></p><p><b>individual</b>: Dr Samuel Darwin</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: admitter <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/ParticipationType code 'ADM' = 'admitter', given as 'admitter'})</span></p><p><b>individual</b>: Dr Samuel Darwin</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: consultant <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/ParticipationType code 'CON' = 'consultant', given as 'consultant'})</span></p><p><b>individual</b>: Dr Samuel Darwin</p></blockquote><p><b>period</b>: 29 Nov 2010, 11:00:00 --&gt; (ongoing)</p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td>-</td><td><b>AdmitSource</b></td></tr><tr><td>*</td><td>51 <span style=\"background: LightGoldenRodYellow\">(Details : {https://fhir.nhs.uk/R4/CodeSystem/UKCore-SourceOfAdmission code '51' = '51)</span></td></tr></table><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"#backboneelement_6297eed2-7dcb-48c2-8340-738308a1999d\">RCB55-RECOVERYWARD. Generated Summary: unknown resource entry</a></p><p><b>status</b>: active</p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"#backboneelement_7e72be04-056b-4179-8ab1-4b5043fd0eb6\">RCB55-SURGWARD. Generated Summary: unknown resource entry</a></p><p><b>status</b>: completed</p></blockquote></div>"
  ];
  fhir:Encounter.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
     fhir:Identifier.value [ fhir:value "1223" ]
  ];
  fhir:Encounter.status [ fhir:value "in-progress"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ];
     fhir:Coding.code [ fhir:value "IMP" ];
     fhir:Coding.display [ fhir:value "inpatient encounter" ]
  ];
  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 "21" ]     ]
  ], [
     fhir:index 1;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org.uk/CodeSystem/v2-0069" ];
       fhir:Coding.code [ fhir:value "300" ]     ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "urn:oid:14e04822-9fd2-4343-8b27-b00d80588772" ]
  ];
  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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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-11-29T11:00:00+00: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 "51" ]       ]     ]
  ];
  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "urn:oid:6297eed2-7dcb-48c2-8340-738308a1999d" ];
       fhir:Reference.display [ fhir:value "RCB55-RECOVERYWARD" ]     ];
     fhir:Encounter.location.status [ fhir:value "active" ]
  ], [
     fhir:index 1;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "urn:oid:7e72be04-056b-4179-8ab1-4b5043fd0eb6" ];
       fhir:Reference.display [ fhir:value "RCB55-SURGWARD" ]     ];
     fhir:Encounter.location.status [ fhir:value "completed" ]
  ].

<urn:oid:14e04822-9fd2-4343-8b27-b00d80588772> a fhir:Patient;
  fhir:Resource.id [ fhir:value "14e04822-9fd2-4343-8b27-b00d80588772"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 14e04822-9fd2-4343-8b27-b00d80588772</p><p><b>identifier</b>: 3333333333</p><p><b>name</b>: FREDRICA SMITH </p><p><b>telecom</b>: ph: +441234567890(HOME)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1965-12-13</p><p><b>address</b>: MALTON YO32 5TT (HOME)</p><p><b>generalPractitioner</b>: Dr Gregory Townley</p><p><b>managingOrganization</b>: MALTON GP PRACTICE</p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1" ];
           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:6297eed2-7dcb-48c2-8340-738308a1999d> a fhir:Location;
  fhir:Resource.id [ fhir:value "6297eed2-7dcb-48c2-8340-738308a1999d"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 6297eed2-7dcb-48c2-8340-738308a1999d</p><p><b>identifier</b>: RCB55-RECOVERYWARD</p><p><b>name</b>: RCB55-RECOVERYWARD</p><p><b>managingOrganization</b>: </p><p><b>partOf</b>: </p></div>"
  ];
  fhir:Location.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "htttps://fhir.xgenome.co.uk/Id/Ward" ];
     fhir:Identifier.value [ fhir:value "RCB55-RECOVERYWARD" ]
  ];
  fhir:Location.name [ fhir:value "RCB55-RECOVERYWARD"];
  fhir:Location.managingOrganization [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ];
       fhir:Identifier.value [ fhir:value "West Wing" ]     ]
  ];
  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" ]     ]
  ].

<urn:oid:7e72be04-056b-4179-8ab1-4b5043fd0eb6> a fhir:Location;
  fhir:Resource.id [ fhir:value "7e72be04-056b-4179-8ab1-4b5043fd0eb6"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 7e72be04-056b-4179-8ab1-4b5043fd0eb6</p><p><b>identifier</b>: RCB55-SURGWARD</p><p><b>name</b>: RCB55-SURGWARD</p><p><b>managingOrganization</b>: </p><p><b>partOf</b>: </p></div>"
  ];
  fhir:Location.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "htttps://fhir.xgenome.co.uk/Id/Ward" ];
     fhir:Identifier.value [ fhir:value "RCB55-SURGWARD" ]
  ];
  fhir:Location.name [ fhir:value "RCB55-SURGWARD"];
  fhir:Location.managingOrganization [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ];
       fhir:Identifier.value [ fhir:value "West Wing" ]     ]
  ];
  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.