US Meds Implementation Guide (Release 1)

This page is part of the US-Medication FHIR IG (v1.0.0: STU 1) based on FHIR R3. The current version which supercedes this version is 1.2.0. For a full list of available versions, see the Directory of published versions

Example: Patient-test2

Formats: Narrative, XML, JSON, Turtle

Raw ttl

@prefix fhir: <http://hl7.org/fhir/STU3/> .
@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 "test2"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-patient";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>\n				<b>Generated Narrative with Details</b>\n			</p>\n			<p>\n				<b>id</b>: test2</p>\n			<p>\n				<b>identifier</b>: Medical Record Number = 1032702 (USUAL)</p>\n			<p>\n				<b>active</b>: true</p>\n			<p>\n				<b>name</b>: Biran Z </p>\n			<p>\n				<b>telecom</b>: ph: 555-555-5555(HOME)</p>\n			<p>\n				<b>gender</b>: Male</p>\n			<p>\n				<b>birthsex</b>: Male</p>\n			<p>\n				<b>birthDate</b>: Jan 5, 1964</p>\n			<p>\n				<b>address</b>: 211 Main St Anytown, CA 95555 US </p>\n			<p>\n				<b>race</b>: White</p>\n			<p>\n				<b>ethnicity</b>: Hispanic or Latino</p>\n						<p>\n				<b>preferred language</b>: English</p>\n\n		</div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-race" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2106-3" ];
         fhir:Coding.display [ fhir:value "White" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "White" ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-ethnicity" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2135-2" ];
         fhir:Coding.display [ fhir:value "Hispanic or Latino" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "Hispanic or Latino" ]     ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-birthsex" ];
     fhir:Extension.valueCode [ fhir:value "M" ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/STU3/v2/0203" ];
         fhir:Coding.code [ fhir:value "MR" ];
         fhir:Coding.display [ fhir:value "Medical Record Number" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Medical Record Number" ]     ];
     fhir:Identifier.system [ fhir:value "http://hospital.smarthealthit.org" ];
     fhir:Identifier.value [ fhir:value "1032702" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Z" ];
     fhir:HumanName.given [
       fhir:value "Brian";
       fhir:index 0     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "555-555-5555" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1964-01-05"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "211 Main St";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Anytown" ];
     fhir:Address.state [ fhir:value "CA" ];
     fhir:Address.postalCode [ fhir:value "95555" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en" ];
         fhir:Coding.display [ fhir:value "English" ]       ];
       fhir:CodeableConcept.text [ fhir:value "English" ]     ];
     fhir:Patient.communication.preferred [ fhir:value "true"^^xsd:boolean ]
  ].

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

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