@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/us/bfdr/Patient/patient-decedent-fetus-not-named> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "patient-decedent-fetus-not-named"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/bfdr/StructureDefinition/Patient-decedent-fetus" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/bfdr/StructureDefinition/Patient-decedent-fetus>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-decedent-fetus-not-named</b></p><a name=\"patient-decedent-fetus-not-named\"> </a><a name=\"hcpatient-decedent-fetus-not-named\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-Patient-decedent-fetus.html\">Patient - Decedent Fetus</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">null (official) Female, DoB: 2019-01-09 ( Medical Record Number: 9932702 (use: usual))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known multipleBirth status of Patient\">Multiple Birth:</td><td colspan=\"3\">3</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This Extension profile represents the reported age of the parent (either the gestational mother or the natural father - as defined by NCHS) at the delivery time of the newborn or fetus. #xA;A required code indicates whether the mother or father's age is provided. It can optionally contain a reference to the reporter (**US Core Patient Profile** or **US Core RelatedPerson Profile**).\">Reported Parent Age At Delivery Vital Records:</td><td colspan=\"3\"><ul><li>reportedAge: 34 a<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codea = 'a')</span></li><li>motherOrFather: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode MTH}\">mother</span></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This Extension profile represents the reported age of the parent (either the gestational mother or the natural father - as defined by NCHS) at the delivery time of the newborn or fetus. #xA;A required code indicates whether the mother or father's age is provided. It can optionally contain a reference to the reporter (**US Core Patient Profile** or **US Core RelatedPerson Profile**).\">Reported Parent Age At Delivery Vital Records:</td><td colspan=\"3\"><ul><li>reportedAge: 35 a<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codea = 'a')</span></li><li>motherOrFather: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode FTH}\">father</span></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.\"><a href=\"http://hl7.org/fhir/extensions/5.4.0/StructureDefinition-patient-birthPlace.html\">Patient Birth Place</a></td><td colspan=\"3\">Ann Arbor MI 48103 </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).\"><a href=\"http://hl7.org/fhir/us/core/STU5.0.1/StructureDefinition-us-core-birthsex.html\">US Core Birth Sex Extension</a></td><td colspan=\"3\">F</td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" ] ;
     fhir:Extension.valueCode [ fhir:value "F" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" ] ;
     fhir:Extension.valueAddress [
       fhir:Address.city [ fhir:value "Ann Arbor" ] ;
       fhir:Address.state [ fhir:value "MI" ] ;
       fhir:Address.postalCode [ fhir:value "48103" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "reportedAge" ] ;
       fhir:Extension.valueQuantity [
         fhir:Quantity.value [ fhir:value "34"^^xsd:decimal ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "motherOrFather" ] ;
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
           fhir:Coding.code [ fhir:value "MTH" ] ;
           fhir:Coding.display [ fhir:value "mother" ]
         ]
       ]
     ] ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-reported-parent-age-at-delivery-vr" ]
  ], [
     fhir:index -1 ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "reportedAge" ] ;
       fhir:Extension.valueQuantity [
         fhir:Quantity.value [ fhir:value "35"^^xsd:decimal ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ], [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "motherOrFather" ] ;
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
           fhir:Coding.code [ fhir:value "FTH" ] ;
           fhir:Coding.display [ fhir:value "father" ]
         ]
       ]
     ] ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-reported-parent-age-at-delivery-vr" ]
  ] ;
  fhir:Patient.identifier [
     fhir:index -1 ;
     fhir:Identifier.use [ fhir:value "usual" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "MR" ] ;
         fhir:Coding.display [ fhir:value "Medical Record Number" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://hospital.smarthealthit.org" ] ;
     fhir:Identifier.value [ fhir:value "9932702" ]
  ] ;
  fhir:Patient.name [
     fhir:index -1 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.family [
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ] ;
         fhir:Extension.valueCode [ fhir:value "not-applicable" ]
       ]
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [
     fhir:value "2019-01-09"^^xsd:date ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ] ;
       fhir:Extension.valueDateTime [ fhir:value "2019-01-09T18:23:00-07:00"^^xsd:dateTime ]
     ]
  ] ;
  fhir:Patient.deceasedBoolean [
     fhir:value "true"^^xsd:boolean ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-patient-fetal-death-vr" ] ;
       fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
     ]
  ] ;
  fhir:Patient.multipleBirthInteger [ fhir:value "3"^^xsd:integer] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/bfdr/Patient/patient-decedent-fetus-not-named.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/bfdr/Patient/patient-decedent-fetus-not-named.ttl> .

# -------------------------------------------------------------------------------------

