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

: UDI 1 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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Device;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "udi-1"];
  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 "UDI 1 Example" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is a UDI 1 example for the *US Core Implantable Device Profile*." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device>     ]
  ];
  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><h3>UdiCarriers</h3><table class=\"grid\"><tr><td>-</td><td><b>DeviceIdentifier</b></td><td><b>CarrierHRF</b></td></tr><tr><td>*</td><td>09504000059118</td><td>(01)09504000059118(17)141120(10)7654321D(21)10987654d321</td></tr></table><p><b>status</b>: active</p><p><b>expirationDate</b>: 2014-11-20</p><p><b>lotNumber</b>: 7654321D</p><p><b>serialNumber</b>: 10987654d321</p><p><b>type</b>: <span title=\"Codes: {http://snomed.info/sct 468063009}\">Coated femoral stem prosthesis, modular</span></p><p><b>patient</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></div>"
  ];
  fhir:Device.udiCarrier [
     fhir:index 0;
     fhir:Device.udiCarrier.deviceIdentifier [ fhir:value "09504000059118" ];
     fhir:Device.udiCarrier.carrierHRF [ fhir:value "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" ]
  ];
  fhir:Device.status [ fhir:value "active"];
  fhir:Device.expirationDate [ fhir:value "2014-11-20"^^xsd:date];
  fhir:Device.lotNumber [ fhir:value "7654321D"];
  fhir:Device.serialNumber [ fhir:value "10987654d321"];
  fhir:Device.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:468063009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "468063009" ];
       fhir:Coding.display [ fhir:value "Coated femoral stem prosthesis, modular" ]     ]
  ];
  fhir:Device.patient [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Amy Shaw" ]
  ].

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

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