Current Build

Patient-example-dicom.ttl

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Taken from a DICOM sample

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Patient/dicom> a fhir:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "dicom"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"> Patient MINT_TEST, ID = MINT1234. Age = 56y, Size =\n      1.83m, Weight = 72.58kg </div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://nema.org/fhir/extensions#0010:1010" ];
     fhir:Extension.valueQuantity [
       fhir:Quantity.value [ fhir:value "56"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "Y" ]
     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://nema.org/fhir/extensions#0010:1020" ];
     fhir:Extension.valueQuantity [
       fhir:Quantity.value [ fhir:value "1.83"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "m" ]
     ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://nema.org/fhir/extensions#0010:1030" ];
     fhir:Extension.valueQuantity [
       fhir:Quantity.value [ fhir:value "72.58"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "kg" ]
     ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://nema.org/examples/patients" ];
     fhir:Identifier.value [ fhir:value "MINT1234" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "MINT_TEST" ]
  ];
  fhir:Patient.gender [
     fhir:value "male";
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://nema.org/examples/extensions#gender" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://nema.org/examples/gender" ];
         fhir:Coding.code [ fhir:value "M" ]
       ]
     ]
  ];
  fhir:Patient.managingOrganization [
     fhir:link <http://hl7.org/fhir/Organization/1>;
     fhir:Reference.reference [ fhir:value "Organization/1" ]
  ] .

<http://hl7.org/fhir/Organization/1> a fhir:Organization .

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

<http://hl7.org/fhir/Patient/dicom.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Patient/dicom.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.