@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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/us/vrdr/Bundle/MortalityRosterBundle-Example1> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MortalityRosterBundle-Example1"] ; # 
  fhir:meta [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/AliasStatus"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/AliasStatus>
       ] ;
       fhir:value [
         a fhir:Boolean ;
         fhir:v false
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/ReplaceStatus"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/ReplaceStatus>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-replace-status-cs"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-replace-status-cs>
           ] ;
           fhir:code [ fhir:v "original" ] ;
           fhir:display [ fhir:v "original record" ]
         ] )
       ]
     ] ) ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-mortality-roster-bundle"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-mortality-roster-bundle>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:identifier [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/CertificateNumber"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vr-common-library/StructureDefinition/CertificateNumber>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "000182"
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/AuxiliaryStateIdentifier1"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vr-common-library/StructureDefinition/AuxiliaryStateIdentifier1>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "000000000001"
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/AuxiliaryStateIdentifier2"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vr-common-library/StructureDefinition/AuxiliaryStateIdentifier2>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "100000000001"
       ]
     ] ) ;
     fhir:value [ fhir:v "2020NY000182" ]
  ] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:timestamp [ fhir:v "2020-10-20T14:48:35.401641-04:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "http://www.example.org/fhir/Patient/Decedent-Example3"^^xsd:anyURI ;
       fhir:l <http://www.example.org/fhir/Patient/Decedent-Example3>
     ] ;
     fhir:resource ( <http://www.example.org/fhir/Patient/Decedent-Example3> )
  ] [
     fhir:fullUrl [
       fhir:v "http://www.example.org/fhir/RelatedPerson/DecedentFather-Example1"^^xsd:anyURI ;
       fhir:l <http://www.example.org/fhir/RelatedPerson/DecedentFather-Example1>
     ] ;
     fhir:resource ( <http://www.example.org/fhir/RelatedPerson/DecedentFather-Example1> )
  ] [
     fhir:fullUrl [
       fhir:v "http://www.example.org/fhir/RelatedPerson/DecedentMother-Example1"^^xsd:anyURI ;
       fhir:l <http://www.example.org/fhir/RelatedPerson/DecedentMother-Example1>
     ] ;
     fhir:resource ( <http://www.example.org/fhir/RelatedPerson/DecedentMother-Example1> )
  ] [
     fhir:fullUrl [
       fhir:v "http://www.example.org/fhir/Observation/DeathDate-Example3"^^xsd:anyURI ;
       fhir:l <http://www.example.org/fhir/Observation/DeathDate-Example3>
     ] ;
     fhir:resource ( <http://www.example.org/fhir/Observation/DeathDate-Example3> )
  ] [
     fhir:fullUrl [
       fhir:v "http://www.example.org/fhir/Location/DeathLocation-Example3"^^xsd:anyURI ;
       fhir:l <http://www.example.org/fhir/Location/DeathLocation-Example3>
     ] ;
     fhir:resource ( <http://www.example.org/fhir/Location/DeathLocation-Example3> )
  ] ) . # 

<http://www.example.org/fhir/Patient/Decedent-Example3> a fhir:Patient ;
  fhir:id [ fhir:v "Decedent-Example3"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-decedent"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-decedent>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_Decedent-Example3\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient Decedent-Example3</b></p><a name=\"Decedent-Example3\"> </a><a name=\"hcDecedent-Example3\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; 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-vrdr-decedent.html\">Decedent</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Madelyn Patel (official) Female, DoB: 1978-03-12 ( Social Beneficiary Identifier: SSN#987654321)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Alternate names (see the one above)\">Alt. Name:</td><td colspan=\"3\">Joyce McCain(Name changed for Marriage)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">NY </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Sex on visual inspection at the time of death by the funeral home\"><a href=\"StructureDefinition-NVSS-SexAtDeath.html\">NVSS SexAtDeath</a></td><td colspan=\"3\"><span title=\"Codes:{http://hl7.org/fhir/administrative-gender unknown}\">Unknown</span></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.3.0/StructureDefinition-patient-birthPlace.html\">Patient Birth Place</a></td><td colspan=\"3\">NY US </td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/NVSS-SexAtDeath"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/NVSS-SexAtDeath>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://hl7.org/fhir/administrative-gender"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/administrative-gender>
         ] ;
         fhir:code [ fhir:v "unknown" ] ;
         fhir:display [ fhir:v "Unknown" ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/patient-birthPlace>
     ] ;
     fhir:value [
       a fhir:Address ;
       fhir:state [ fhir:v "NY" ] ;
       fhir:country [ fhir:v "US" ]
     ]
  ] ) ; # 
  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 "SB" ] ;
         fhir:display [ fhir:v "Social Beneficiary Identifier" ]
       ] )
     ] ;
     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 "987654321" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Patel" ] ;
     fhir:given ( [ fhir:v "Madelyn" ] )
  ] [
     fhir:use [ fhir:v "maiden" ] ;
     fhir:text [ fhir:v "Joyce McCain" ] ;
     fhir:family [ fhir:v "McCain" ] ;
     fhir:given ( [ fhir:v "Joyce" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1978-03-12"^^xsd:date] ; # 
  fhir:address ( [
     fhir:state [ fhir:v "NY" ]
  ] ) . # 

<http://www.example.org/fhir/RelatedPerson/DecedentFather-Example1> a fhir:RelatedPerson ;
  fhir:id [ fhir:v "DecedentFather-Example1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-decedent-father"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-decedent-father>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"RelatedPerson_DecedentFather-Example1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson DecedentFather-Example1</b></p><a name=\"DecedentFather-Example1\"> </a><a name=\"hcDecedentFather-Example1\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; 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-vrdr-decedent-father.html\">Decedent Father</a></p></div><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-Decedent-Example1.html\">Madelyn Patel (official) Female, DoB: 1978-03-12 ( Social Beneficiary Identifier: SSN#987654321)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode FTH}\">father</span></p><p><b>name</b>: Decedent Dad(Official)</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/us/vrdr/Patient/Decedent-Example1> ;
     fhir:reference [ fhir:v "Patient/Decedent-Example1" ]
  ] ; # 
  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 "FTH" ]
     ] )
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:text [ fhir:v "Decedent Dad" ] ;
     fhir:family [ fhir:v "Smith" ] ;
     fhir:given ( [ fhir:v "John" ] ) ;
     fhir:suffix ( [ fhir:v "Sr" ] )
  ] ) . # 

<http://hl7.org/fhir/us/vrdr/Patient/Decedent-Example1> a fhir:Us .

<http://www.example.org/fhir/RelatedPerson/DecedentMother-Example1> a fhir:RelatedPerson ;
  fhir:id [ fhir:v "DecedentMother-Example1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-decedent-mother"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-decedent-mother>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"RelatedPerson_DecedentMother-Example1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson DecedentMother-Example1</b></p><a name=\"DecedentMother-Example1\"> </a><a name=\"hcDecedentMother-Example1\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; 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-vrdr-decedent-mother.html\">Decedent Mother</a></p></div><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-Decedent-Example1.html\">Madelyn Patel (official) Female, DoB: 1978-03-12 ( Social Beneficiary Identifier: SSN#987654321)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode MTH}\">mother</span></p><p><b>name</b>: Decedent Mom(Name changed for Marriage)</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/us/vrdr/Patient/Decedent-Example1> ;
     fhir:reference [ fhir:v "Patient/Decedent-Example1" ]
  ] ; # 
  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 "MTH" ]
     ] )
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "maiden" ] ;
     fhir:text [ fhir:v "Decedent Mom" ] ;
     fhir:family [ fhir:v "Suzette" ] ;
     fhir:given ( [ fhir:v "Jane" ] )
  ] ) . # 

<http://www.example.org/fhir/Observation/DeathDate-Example3> a fhir:Observation ;
  fhir:id [ fhir:v "DeathDate-Example3"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-date"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-date>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_DeathDate-Example3\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation DeathDate-Example3</b></p><a name=\"DeathDate-Example3\"> </a><a name=\"hcDeathDate-Example3\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; 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-vrdr-death-date.html\">Death Date</a></p></div><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 81956-5}\">Date and time of death [TimeStamp]</span></p><p><b>subject</b>: <a href=\"Patient-Decedent-Example3.html\">Madelyn Patel (official) Female, DoB: 1978-03-12 ( Social Beneficiary Identifier: SSN#987654321)</a></p><p><b>effective</b>: 2020-11-12 16:39:40-0500</p><p><b>value</b>: <code>Partial Date Time Vital Records: </code></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:81956-5 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "81956-5" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/us/vrdr/Patient/Decedent-Example3> ;
     fhir:reference [ fhir:v "Patient/Decedent-Example3" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2020-11-12T16:39:40-05:00"^^xsd:dateTime
  ] ; # 
  fhir:value [
     a fhir:DateTime ;
     fhir:extension ( [
       fhir:extension ( [
         fhir:url [
           fhir:v "day"^^xsd:anyURI ;
           fhir:l fhir:day
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:extension ( [
             fhir:url [
               fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
             ] ;
             fhir:value [
               a fhir:Code ;
               fhir:v "unknown"
             ]
           ] )
         ]
       ] [
         fhir:url [
           fhir:v "year"^^xsd:anyURI ;
           fhir:l fhir:year
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:v "2020"^^xsd:nonNegativeInteger
         ]
       ] [
         fhir:url [
           fhir:v "month"^^xsd:anyURI ;
           fhir:l fhir:month
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:v "11"^^xsd:nonNegativeInteger
         ]
       ] [
         fhir:url [
           fhir:v "time"^^xsd:anyURI ;
           fhir:l fhir:time
         ] ;
         fhir:value [
           a fhir:Time ;
           fhir:extension ( [
             fhir:url [
               fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
             ] ;
             fhir:value [
               a fhir:Code ;
               fhir:v "unknown"
             ]
           ] )
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-partial-date-time-vr"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-partial-date-time-vr>
       ]
     ] )
  ] . # 

<http://hl7.org/fhir/us/vrdr/Patient/Decedent-Example3> a fhir:Us .

<http://www.example.org/fhir/Location/DeathLocation-Example3> a fhir:Location ;
  fhir:id [ fhir:v "DeathLocation-Example3"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-location"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-location>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Location_DeathLocation-Example3\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Location DeathLocation-Example3</b></p><a name=\"DeathLocation-Example3\"> </a><a name=\"hcDeathLocation-Example3\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; 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-vrdr-death-location.html\">Death Location</a></p></div><p><b>name</b>: Pecan Grove Nursing Home</p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-location-type-cs death}\">Death Location</span></p><p><b>address</b>: NY US </p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:name [ fhir:v "Pecan Grove Nursing Home"] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-location-type-cs"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-location-type-cs>
       ] ;
       fhir:code [ fhir:v "death" ]
     ] )
  ] ) ; # 
  fhir:address [
     fhir:state [ fhir:v "NY" ] ;
     fhir:country [ fhir:v "US" ]
  ] . # 

# -------------------------------------------------------------------------------------

