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 Create 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-PMIRBundleCreate"];
  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-create" ];
     fhir:Bundle.entry.resource <MessageHeader/ex-messageheader-create>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "Bundle/ex-bundle-history-create" ];
     fhir:Bundle.entry.resource <Bundle/ex-bundle-history-create>
  ].

<MessageHeader/ex-messageheader-create> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "ex-messageheader-create"];
  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-create\" </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-create\">See above (Bundle/ex-bundle-history-create)</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-create" ]
  ].

<Bundle/ex-bundle-history-create> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "ex-bundle-history-create"];
  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 "urn:uuid:14298d90-b285-4c4c-8252-5d4e7bb5fdb6" ];
     fhir:Bundle.entry.resource <urn:uuid:14298d90-b285-4c4c-8252-5d4e7bb5fdb6>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Patient" ]     ];
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "201" ];
       fhir:Bundle.entry.response.location [ fhir:value "Patient/ex-patient-create1/_history/1" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:95e1726c-9c3c-4de3-bebc-15daed6b6d34" ];
     fhir:Bundle.entry.resource <urn:uuid:95e1726c-9c3c-4de3-bebc-15daed6b6d34>;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ];
       fhir:Bundle.entry.request.url [ fhir:value "Patient" ]     ];
     fhir:Bundle.entry.response [
       fhir:Bundle.entry.response.status [ fhir:value "201" ];
       fhir:Bundle.entry.response.location [ fhir:value "Patient/ex-patient-create2/_history/1" ]     ]
  ].

<urn:uuid:14298d90-b285-4c4c-8252-5d4e7bb5fdb6> a fhir:Patient;
  fhir:Resource.id [ fhir:value "ex-patient-create1"];
  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-734-942-9512" ];
     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 "4512 Bombardier Way\nRomulus, MI 48174" ];
     fhir:Address.line [
       fhir:value "4512 Bombardier Way";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Romulus" ];
     fhir:Address.state [ fhir:value "MI" ];
     fhir:Address.postalCode [ fhir:value "48174" ];
     fhir:Address.country [ fhir:value "US" ]
  ].

<urn:uuid:95e1726c-9c3c-4de3-bebc-15daed6b6d34> a fhir:Patient;
  fhir:Resource.id [ fhir:value "ex-patient-create2"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Patient.Related";
       fhir:index 0;
       fhir:link <https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Patient.Related>     ]
  ];
  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 "Wooten" ];
     fhir:HumanName.given [
       fhir:value "Lucille";
       fhir:index 0     ], [
       fhir:value "T.";
       fhir:index 1     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+1-570-508-4343" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "LucilleTWooten@teleworm.us" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1971-12-14"^^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 "3799 High Meadow Lane\nScranton, PA 18503" ];
     fhir:Address.line [
       fhir:value "3799 High Meadow Lane";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Scranton" ];
     fhir:Address.state [ fhir:value "PA" ];
     fhir:Address.postalCode [ fhir:value "18503" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.link [
     fhir:index 0;
     fhir:Patient.link.other [
       fhir:Reference.reference [ fhir:value "RelatedPerson/ex-related-mom" ]     ];
     fhir:Patient.link.type [ fhir:value "seealso" ]
  ].

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

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