Onyx Master Patient Index IG
0.1.0 - ci-build International flag

Onyx Master Patient Index IG - Local Development build (v0.1.0). See the Directory of published versions

: example-mpi_patient_2 - 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:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "Patient2"]; # 
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-12-10T15:00:00.000Z"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://ig.fhir.safhir.io/ig/onyx-mpi/StructureDefinition/masterpatient";
       fhir:index 0;
       fhir:link <http://ig.fhir.safhir.io/ig/onyx-mpi/StructureDefinition/masterpatient>     ]
  ]; # 
  fhir:Resource.language [ fhir:value "en-US"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\" lang=\"en-US\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Johnny Example2 </b> male, DoB: 1986-01-01 ( Member Number: 1234-234-1243-12345678901)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-NullFlavor UNK}\">unknown</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Id:</td><td colspan=\"3\">Medical record number: 1234-234-1243-12345678901m</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Details:</td><td colspan=\"3\"><ul><li>ph: (301)666-1212</li><li>6518 Meadowridge Rd Suite 100 Elkridge MD 21075 </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Identifies the current status of a record as a result of the latest match.\"><a href=\"StructureDefinition-MpiMatchStatus.html\">Status of MasterPatient Record:</a></td><td colspan=\"3\"><ul><li><span title=\"Codes: {http://ig.fhir.safhir.io/ig/onyx-mpi/CodeSystem/MpiMatchSourceCS match}\">Match</span></li></ul></td></tr></table></div>"
  ]; # 
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://ig.fhir.safhir.io/ig/onyx-mpi/StructureDefinition/MpiMatchStatus" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ig.fhir.safhir.io/ig/onyx-mpi/CodeSystem/MpiMatchSourceCS" ];
         fhir:Coding.code [ fhir:value "match" ];
         fhir:Coding.display [ fhir:value "Match" ]       ]     ]
  ]; # 
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "MB" ]       ]     ];
     fhir:Identifier.system [ fhir:value "https://www.xxxhealthplan.com/fhir/memberidentifier" ];
     fhir:Identifier.value [ fhir:value "1234-234-1243-12345678901" ]
  ], [
     fhir:index 1;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "MR" ]       ]     ];
     fhir:Identifier.system [ fhir:value "https://www.xxxhealthplan.com/fhir/medicalrecordnumber" ];
     fhir:Identifier.value [ fhir:value "1234-234-1243-12345678901m" ]
  ]; # 
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean]; # 
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Example2" ];
     fhir:HumanName.given [
       fhir:value "Johnny";
       fhir:index 0     ]
  ]; # 
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(301)666-1212" ];
     fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]
  ]; # 
  fhir:Patient.gender [ fhir:value "male"]; # 
  fhir:Patient.birthDate [ fhir:value "1986-01-01"^^xsd:date]; # 
  fhir:Patient.address [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "latitude" ];
         fhir:Extension.valueDecimal [ fhir:value "39.1898443"^^xsd:decimal ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "longitude" ];
         fhir:Extension.valueDecimal [ fhir:value "-76.77754999999999"^^xsd:decimal ]       ];
       fhir:Extension.url [ fhir:value "http://ig.fhir.safhir.io/ig/onyx-mpi/StructureDefinition/MpiGeoLocation" ]     ];
     fhir:Address.type [ fhir:value "physical" ];
     fhir:Address.line [
       fhir:value "6518 Meadowridge Rd";
       fhir:index 0     ], [
       fhir:value "Suite 100";
       fhir:index 1     ];
     fhir:Address.city [ fhir:value "Elkridge" ];
     fhir:Address.state [ fhir:value "MD" ];
     fhir:Address.postalCode [ fhir:value "21075" ]
  ]; # 
  fhir:Patient.maritalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" ];
       fhir:Coding.code [ fhir:value "UNK" ]     ]
  ]. # 

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

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