@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/RelatedPerson/newborn-mom> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "newborn-mom"] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "SS" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "http://hl7.org/fhir/sid/us-ssn"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/sid/us-ssn>
     ] ;
     fhir:value [ fhir:v "444222222" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/Patient/newborn> ;
     fhir:reference [ fhir:v "Patient/newborn" ]
  ] ; # 
  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: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 "NOK" ] ;
       fhir:display [ fhir:v "next of kin" ]
     ] ) ;
     fhir:text [ fhir:v "Next of kin" ]
  ] [
     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 "BILL" ] ;
       fhir:display [ fhir:v "Billing Contact" ]
     ] ) ;
     fhir:text [ fhir:v "Billing 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"] ; # 
  fhir:birthDate [ fhir:v "1973-05-31"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "2222 Home Street" ] )
  ] ) . # 

<http://hl7.org/fhir/Patient/newborn> a fhir:Patient .

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

