Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4

Patient-example-newborn.ttl

Example Patient/newborn (Turtle)

Maturity Level : N/A
Responsible Owner: Patient Administration Work Group Standards Status : Informative Compartments : Patient , Practitioner , RelatedPerson

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

Newborn Patient Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Patient/newborn> a fhir:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "newborn"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: newborn</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 05/09/2017</p><p><b>multipleBirth</b>: 2</p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" ];
     fhir:Extension.valueString [ fhir:value "Everywoman" ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [
     fhir:value "2017-09-05"^^xsd:date;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ];
       fhir:Extension.valueDateTime [ fhir:value "2017-05-09T17:11:00+01:00"^^xsd:dateTime ]

<http://hl7.org/fhir/Patient/newborn> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "newborn"] ; #  
#simple newborn example
# 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Everywoman"

     ]
  ];
  fhir:Patient.multipleBirthInteger [ fhir:value "2"^^xsd:integer] .

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

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

  ] ) ; #   The details of the child  
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [
     fhir:v "2017-09-05"^^xsd:date ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthTime"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/patient-birthTime>
       ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2017-05-09T17:11:00+01:00"^^xsd:dateTime
       ]
     ] )
  ] ; # 
  fhir:multipleBirth [
     a fhir:Integer ;
     fhir:v 2
  ] ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>
         ] ;
         fhir:code [ fhir:v "NMTH" ] ;
         fhir:display [ fhir:v "natural mother" ]
       ] ) ;
       fhir:text [ fhir:v "Natural Mother" ]
     ] ) ;
     fhir:role ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleClass"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleClass>
         ] ;
         fhir:code [ fhir:v "ECON" ] ;
         fhir:display [ fhir:v "emergency contact" ]
       ] ) ;
       fhir:text [ fhir:v "Emergency Contact" ]
     ] ) ;
     fhir:name [
       fhir:use [ fhir:v "official" ] ;
       fhir:family [ fhir:v "Everywoman" ] ;
       fhir:given ( [ fhir:v "Eve" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "555-555-2003" ] ;
       fhir:use [ fhir:v "work" ]
     ] ) ;
     fhir:gender [ fhir:v "female" ]
  ] ) . # 


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


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.