US Core Implementation Guide
4.0.0 - STU4 Release

This page is part of the US Core (v4.0.0: STU4) based on FHIR R4. The current version which supercedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions

: Uscore MO3 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 "uscore-mo3"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Uscore MO3 Example" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is a uscore mo3 example for the *Bundle Profile*." ]     ]
  ];
  fhir:Bundle.type [ fhir:value "searchset"];
  fhir:Bundle.total [ fhir:value "1"^^xsd:nonNegativeInteger];
  fhir:Bundle.link [
     fhir:index 0;
     fhir:Bundle.link.relation [ fhir:value "self" ];
     fhir:Bundle.link.url [ fhir:value "http://test.fhir.org/r4/MedicationRequest?search-id=4085956e-63b8-402d-b181-325040fdb9&&_id=uscore%2Dmo3&_include=MedicationRequest%3Amedication&_sort=_id" ]
  ];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://test.fhir.org/r4/MedicationRequest/uscore-mo3" ];
     fhir:Bundle.entry.resource <http://test.fhir.org/r4/MedicationRequest/uscore-mo3>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "/Medication/uscore-med2" ];
     fhir:Bundle.entry.resource </Medication/uscore-med2>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "include" ]     ]
  ].

<http://test.fhir.org/r4/MedicationRequest/uscore-mo3> a fhir:MedicationRequest;
  fhir:Resource.id [ fhir:value "uscore-mo3"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <a href=\"#Medication_uscore-med2\">Nizatidine 15 MG/ML Oral Solution [Axid]. Generated Summary: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 582620}\">Nizatidine 15 MG/ML Oral Solution [Axid]</span></a></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy Shaw. Generated Summary: Medical Record Number: 1032702 (USUAL); active; Amy V. Shaw , Amy V. Baxter ; Phone: 555-555-5555, amy.shaw@example.com; gender: female; birthDate: 1987-02-20</a></p><p><b>authoredOn</b>: 2008-04-05</p><p><b>requester</b>: <a href=\"Practitioner-practitioner-1.html\">Ronald Bone, MD. Generated Summary: id: 9941339108, id: 25456; Ronald Bone </a></p></div>"
  ];
  fhir:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.medicationReference [
     fhir:Reference.reference [ fhir:value "Medication/uscore-med2" ];
     fhir:Reference.display [ fhir:value "Nizatidine 15 MG/ML Oral Solution [Axid]" ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Amy Shaw" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2008-04-05"^^xsd:date];
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner-1" ];
     fhir:Reference.display [ fhir:value "Ronald Bone, MD" ]
  ].

</Medication/uscore-med2> a fhir:Medication;
  fhir:Resource.id [ fhir:value "uscore-med2"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ];
     fhir:Meta.lastUpdated [ fhir:value "2016-11-29T19:45:46Z"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>code</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 582620}\">Nizatidine 15 MG/ML Oral Solution [Axid]</span></p></div>"
  ];
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "582620" ];
       fhir:Coding.display [ fhir:value "Nizatidine 15 MG/ML Oral Solution [Axid]" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Nizatidine 15 MG/ML Oral Solution [Axid]" ]
  ].

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

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