LinuxForHealth FHIR Implementation Guide
8.0.0 - draft United States of America flag

LinuxForHealth FHIR Implementation Guide - Local Development build (v8.0.0). See the Directory of published versions

: Matched Location 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:Location;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "MatchedLocationExample"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/tenant-id" ];
       fhir:Extension.valueString [ fhir:value "99999" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/ingestion-batch-id" ];
       fhir:Extension.valueString [ fhir:value "b069a545-9506-40c6-8498-23de2e189143" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-organization" ];
       fhir:Extension.valueString [ fhir:value "HDC" ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-type" ];
       fhir:Extension.valueString [ fhir:value "Matching" ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-name" ];
       fhir:Extension.valueString [ fhir:value "Location Matching" ]     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-version" ];
       fhir:Extension.valueString [ fhir:value "1.0" ]     ], [
       fhir:index 6;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-timestamp" ];
       fhir:Extension.valueDateTime [ fhir:value "2020-02-12T03:01:00Z"^^xsd:dateTime ]     ];
     fhir:Meta.source [ fhir:value "http://linuxforhealth.org/platform/primary/location-match" ];
     fhir:Meta.profile [
       fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/cdm-match-location";
       fhir:index 0;
       fhir:link <http://linuxforhealth.org/fhir/cdm/StructureDefinition/cdm-match-location>     ];
     fhir:Meta.tag [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://linuxforhealth.org/fhir/cdm/CodeSystem/process-meta-source-classification" ];
       fhir:Coding.code [ fhir:value "derived" ]     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Location</b><a name=\"MatchedLocationExample\"> </a></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 Location \"MatchedLocationExample\" </p><p style=\"margin-bottom: 0px\">Information Source: http://linuxforhealth.org/platform/primary/location-match!</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cdm-match-location.html\">Location Matching - Match Location</a></p><p style=\"margin-bottom: 0px\">Tag: <span title=\"{http://linuxforhealth.org/fhir/cdm/CodeSystem/process-meta-source-classification http://linuxforhealth.org/fhir/cdm/CodeSystem/process-meta-source-classification}\">http://linuxforhealth.org/fhir/cdm/CodeSystem/process-meta-source-classification</span></p></div><blockquote><p><b>See Also</b></p><p><b>value</b>: <a href=\"Location-MatchedLocationSource-EMR1-LocationA.html\">Location/MatchedLocationSource-EMR1-LocationA</a> \"Match Family Clinic\"</p><p><b>value</b>: Automoted matching algorithm or model identified the match <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-match-method.html\">Match Method Codes</a>#automated)</span></p><p><b>value</b>: Certain Match (Details: http://terminology.hl7.org/CodeSystem/match-grade code certain = 'Certain Match', stated as 'null')</p><p><b>value</b>: 100</p><p><b>value</b>: 2020-02-12 --&gt; (ongoing)</p><p><b>Match Compared To</b>: <a href=\"Location-MatchedLocationSource-EMR2-LocationB.html\">Location/MatchedLocationSource-EMR2-LocationB</a> \"Match Family Clinic\"</p><p><b>Match Criteria</b>: TIN match</p><p><b>Match Confidence Code</b>: Certain Match (Details: http://terminology.hl7.org/CodeSystem/match-grade code certain = 'Certain Match', stated as 'null')</p><p><b>Confidence Score</b>: 100</p><p><b>value</b>: HDC</p><p><b>value</b>: Location Match</p><p><b>value</b>: MDM</p><p><b>value</b>: 1.0</p><p><b>value</b>: 2020-01-01 03:01:00+0000</p></blockquote><blockquote><p><b>See Also</b></p><p><b>value</b>: <a href=\"Location-MatchedLocationSource-EMR1-LocationA.html\">Location/MatchedLocationSource-EMR1-LocationA</a> \"Match Family Clinic\"</p><p><b>value</b>: Automoted matching algorithm or model identified the match <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-match-method.html\">Match Method Codes</a>#automated)</span></p><p><b>value</b>: Certain Match (Details: http://terminology.hl7.org/CodeSystem/match-grade code certain = 'Certain Match', stated as 'null')</p><p><b>value</b>: 100</p><p><b>value</b>: 2020-02-12 --&gt; (ongoing)</p><p><b>Match Compared To</b>: <a href=\"Location-MatchedLocationSource-EMR2-LocationB.html\">Location/MatchedLocationSource-EMR2-LocationB</a> \"Match Family Clinic\"</p><p><b>Match Criteria</b>: TIN match</p><p><b>Match Confidence Code</b>: Certain Match (Details: http://terminology.hl7.org/CodeSystem/match-grade code certain = 'Certain Match', stated as 'null')</p><p><b>Confidence Score</b>: 100</p><p><b>value</b>: HDC</p><p><b>value</b>: Location Match</p><p><b>value</b>: MDM</p><p><b>value</b>: 1.0</p><p><b>value</b>: 2020-01-01 03:01:00+0000</p></blockquote><p><b>identifier</b>: Match Data Identifier: 7610613e-2ecb-4cf5-815c-42a9589b2245(use: OFFICIAL), Tax ID number: 222333789(use: SECONDARY)</p><p><b>name</b>: Match Family Clinic</p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-source-reference" ];
       fhir:Extension.valueReference [
         fhir:Reference.reference [ fhir:value "Location/MatchedLocationSource-EMR1-LocationA" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-method" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://linuxforhealth.org/fhir/cdm/CodeSystem/match-method" ];
           fhir:Coding.code [ fhir:value "automated" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-level" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/match-grade" ];
         fhir:Coding.code [ fhir:value "certain" ]       ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-score" ];
       fhir:Extension.valueDecimal [ fhir:value "100"^^xsd:decimal ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-period" ];
       fhir:Extension.valuePeriod [
         fhir:Period.start [ fhir:value "2020-02-12"^^xsd:date ]       ]     ], [
       fhir:index 5;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-compared-to" ];
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "Location/MatchedLocationSource-EMR2-LocationB" ]         ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-criteria" ];
         fhir:Extension.valueString [ fhir:value "TIN match" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-level" ];
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/match-grade" ];
           fhir:Coding.code [ fhir:value "certain" ]         ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-score" ];
         fhir:Extension.valueDecimal [ fhir:value "100"^^xsd:decimal ]       ];
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-detail" ]     ], [
       fhir:index 6;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-organization" ];
       fhir:Extension.valueString [ fhir:value "HDC" ]     ], [
       fhir:index 7;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-type" ];
       fhir:Extension.valueString [ fhir:value "Location Match" ]     ], [
       fhir:index 8;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-name" ];
       fhir:Extension.valueString [ fhir:value "MDM" ]     ], [
       fhir:index 9;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-version" ];
       fhir:Extension.valueString [ fhir:value "1.0" ]     ], [
       fhir:index 10;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-timestamp" ];
       fhir:Extension.valueDateTime [ fhir:value "2020-01-01T03:01:00Z"^^xsd:dateTime ]     ];
     fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/see-also" ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-source-reference" ];
       fhir:Extension.valueReference [
         fhir:Reference.reference [ fhir:value "Location/MatchedLocationSource-EMR1-LocationA" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-method" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://linuxforhealth.org/fhir/cdm/CodeSystem/match-method" ];
           fhir:Coding.code [ fhir:value "automated" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-level" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/match-grade" ];
         fhir:Coding.code [ fhir:value "certain" ]       ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-score" ];
       fhir:Extension.valueDecimal [ fhir:value "100"^^xsd:decimal ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-period" ];
       fhir:Extension.valuePeriod [
         fhir:Period.start [ fhir:value "2020-02-12"^^xsd:date ]       ]     ], [
       fhir:index 5;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-compared-to" ];
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "Location/MatchedLocationSource-EMR2-LocationB" ]         ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-criteria" ];
         fhir:Extension.valueString [ fhir:value "TIN match" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-level" ];
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/match-grade" ];
           fhir:Coding.code [ fhir:value "certain" ]         ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-confidence-score" ];
         fhir:Extension.valueDecimal [ fhir:value "100"^^xsd:decimal ]       ];
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/match-detail" ]     ], [
       fhir:index 6;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-organization" ];
       fhir:Extension.valueString [ fhir:value "HDC" ]     ], [
       fhir:index 7;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-type" ];
       fhir:Extension.valueString [ fhir:value "Location Match" ]     ], [
       fhir:index 8;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-name" ];
       fhir:Extension.valueString [ fhir:value "MDM" ]     ], [
       fhir:index 9;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-version" ];
       fhir:Extension.valueString [ fhir:value "1.0" ]     ], [
       fhir:index 10;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/process-timestamp" ];
       fhir:Extension.valueDateTime [ fhir:value "2020-01-01T03:01:00Z"^^xsd:dateTime ]     ];
     fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/see-also" ]
  ];
  fhir:Location.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://linuxforhealth.org/fhir/cdm/CodeSystem/identifier-type" ];
         fhir:Coding.code [ fhir:value "MDI" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://linuxforhealth.org/platform/location-match-identifier" ];
     fhir:Identifier.value [ fhir:value "7610613e-2ecb-4cf5-815c-42a9589b2245" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "HDC" ]     ]
  ], [
     fhir:index 1;
     fhir:Identifier.use [ fhir:value "secondary" ];
     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 "TAX" ]       ]     ];
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.4" ];
     fhir:Identifier.value [ fhir:value "222333789" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "irs.gov" ]     ]
  ];
  fhir:Location.name [ fhir:value "Match Family Clinic"].

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

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