Patient Master Identity Registry (PMIR)
1.5.0 - Trial-Implementation International flag

This page is part of the IHE Patient Master Identity Registry (PMIR) (v1.5.0: Trial Implementation) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: IHE Patient Master Identity Registry Message Bundle Update Example - 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 "ex-PMIRBundleUpdate"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Bundle";
       fhir:index 0;
       fhir:link <https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Bundle>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "MessageHeader/ex-messageheader-update" ];
     fhir:Bundle.entry.resource <MessageHeader/ex-messageheader-update>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "Bundle/ex-bundle-history-update" ];
     fhir:Bundle.entry.resource <Bundle/ex-bundle-history-update>
  ].

<MessageHeader/ex-messageheader-update> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "ex-messageheader-update"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.MessageHeader";
       fhir:index 0;
       fhir:link <https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.MessageHeader>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MessageHeader \"ex-messageheader-update\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-IHE.PMIR.MessageHeader.html\">IHE Patient Master Identity Registry MessageHeader</a></p></div><p><b>event</b>: <code>urn:ihe:iti:pmir:2019:patient-feed</code></p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Endpoint</b></td></tr><tr><td>*</td><td><a href=\"http://example.com/patientEndpoint\">http://example.com/patientEndpoint</a></td></tr></table><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Endpoint</b></td></tr><tr><td>*</td><td><a href=\"http://example.com/patientSource\">http://example.com/patientSource</a></td></tr></table><p><b>focus</b>: <a href=\"#Bundle_ex-bundle-history-update\">See above (Bundle/ex-bundle-history-update)</a></p></div>"
  ];
  fhir:MessageHeader.eventUri [ fhir:value "urn:ihe:iti:pmir:2019:patient-feed"];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.endpoint [ fhir:value "http://example.com/patientEndpoint" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.com/patientSource" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Bundle/ex-bundle-history-update" ]
  ].

<Bundle/ex-bundle-history-update> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "ex-bundle-history-update"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Bundle.History";
       fhir:index 0;
       fhir:link <https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Bundle.History>     ]
  ];
  fhir:Bundle.type [ fhir:value "history"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.com/fhir/Patient/ex-patient-update" ];
     fhir:Bundle.entry.resource <http://example.com/fhir/Patient/ex-patient-update>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "PUT" ];
       fhir:Bundle.entry.request.url [ fhir:value "Patient/ex-patient-update" ]     ];
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "200" ];
       fhir:Bundle.entry.response.location [ fhir:value "Patient/ex-patient-update/_history/2" ]     ]
  ].

<http://example.com/fhir/Patient/ex-patient-update> a fhir:Patient;
  fhir:Resource.id [ fhir:value "ex-patient-update"];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Riegel" ];
     fhir:HumanName.given [
       fhir:value "David";
       fhir:index 0     ], [
       fhir:value "A.";
       fhir:index 1     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+1-812-863-3613" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "DavidARiegel@jourrapide.com" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1985-07-12"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.type [ fhir:value "both" ];
     fhir:Address.text [ fhir:value "4392 Stratford Park\nOwensburg, IN 47453" ];
     fhir:Address.line [
       fhir:value "4392 Stratford Park";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Owensburg" ];
     fhir:Address.state [ fhir:value "IN" ];
     fhir:Address.postalCode [ fhir:value "47453" ];
     fhir:Address.country [ fhir:value "US" ]
  ].

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

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