Patsiendi üldandmete teenus / Master Patient Index
1.5.0 - trial-use Estonia flag

Patsiendi üldandmete teenus / Master Patient Index - Downloaded Version 1.5.0 See the Directory of published versions

: PatientLegalRelationshipExample - TTL Representation

Raw ttl | Download


@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Bundle/patient-legal-relationship-example> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-legal-relationship-example"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "https://fhir.ee/mpi/Observation/legal-relationship-example-1"^^xsd:anyURI ] ;
     fhir:resource ( <https://fhir.ee/mpi/Observation/legal-relationship-example-1> )
  ] [
     fhir:fullUrl [ fhir:v "https://fhir.ee/mpi/Observation/legal-relationship-example-2"^^xsd:anyURI ] ;
     fhir:resource ( <https://fhir.ee/mpi/Observation/legal-relationship-example-2> )
  ] [
     fhir:fullUrl [ fhir:v "https://fhir.ee/mpi/Observation/legal-relationship-example-3"^^xsd:anyURI ] ;
     fhir:resource ( <https://fhir.ee/mpi/Observation/legal-relationship-example-3> )
  ] ) . # 

<https://fhir.ee/mpi/Observation/legal-relationship-example-1> a fhir:Observation ;
  fhir:id [ fhir:v "legal-relationship-example-1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-legal-relationship"^^xsd:anyURI ;
       fhir:link <https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-legal-relationship>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_legal-relationship-example-1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation legal-relationship-example-1</b></p><a name=\"legal-relationship-example-1\"> </a><a name=\"hclegal-relationship-example-1\"> </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-ee-mpi-socialhistory-legal-relationship.html\">EE MPI SocialHistory Legal Relationship</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social history</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 125676002}\">Person</span></p><p><b>subject</b>: <a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></p><p><b>issued</b>: 2026-03-18 12:48:40+0200</p><p><b>performer</b>: <a href=\"#hclegal-relationship-example-1/3ffbb9c2-064b-43d3-8b15-d512a743ead2\">KATI KARUMÕMM - Child (https://fhir.ee/sid/pid/est/ni#62308290024)</a></p><p><b>value</b>: <span title=\"Codes:{https://fhir.ee/CodeSystem/hooldusoiguse-liik H10}\">Täielik isikuhooldusõigus</span></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson #3ffbb9c2-064b-43d3-8b15-d512a743ead2</b></p><a name=\"legal-relationship-example-1/3ffbb9c2-064b-43d3-8b15-d512a743ead2\"> </a><a name=\"hclegal-relationship-example-1/3ffbb9c2-064b-43d3-8b15-d512a743ead2\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">KATI KARUMÕMM - Child (https://fhir.ee/sid/pid/est/ni#62308290024)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"The patient this person is related to\">Patient:</td><td colspan=\"3\"><a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nature of the relationship between the patient and the related person\">Relationship:</td><td colspan=\"3\"><span title=\"Codes:{http://snomed.info/sct 67822003}\">Child</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
     a fhir:RelatedPerson ;
     fhir:id [ fhir:v "3ffbb9c2-064b-43d3-8b15-d512a743ead2" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "https://fhir.ee/sid/pid/est/ni"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "62308290024" ]
     ] ) ;
     fhir:patient [
       fhir:link <http://hl7.org/fhir/Patient/pat1> ;
       fhir:reference [ fhir:v "Patient/pat1" ]
     ] ;
     fhir:relationship ( [
       fhir:coding ( [
         a sct:67822003 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "67822003" ] ;
         fhir:display [ fhir:v "Child" ]
       ] )
     ] ) ;
     fhir:name ( [
       fhir:family [ fhir:v "KARUMÕMM" ] ;
       fhir:given ( [ fhir:v "KATI" ] )
     ] )
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "social-history" ] ;
       fhir:display [ fhir:v "Social history" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:125676002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "125676002" ] ;
       fhir:display [ fhir:v "Person" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ]
  ] ; # 
  fhir:issued [ fhir:v "2026-03-18T12:48:40.304+02:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "#3ffbb9c2-064b-43d3-8b15-d512a743ead2" ]
  ] ) ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [ fhir:v "https://fhir.ee/CodeSystem/hooldusoiguse-liik"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "H10" ] ;
       fhir:display [ fhir:v "Täielik isikuhooldusõigus" ]
     ] )
  ] . # 

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

<https://fhir.ee/mpi/Observation/legal-relationship-example-2> a fhir:Observation ;
  fhir:id [ fhir:v "legal-relationship-example-2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-legal-relationship"^^xsd:anyURI ;
       fhir:link <https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-legal-relationship>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_legal-relationship-example-2\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation legal-relationship-example-2</b></p><a name=\"legal-relationship-example-2\"> </a><a name=\"hclegal-relationship-example-2\"> </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-ee-mpi-socialhistory-legal-relationship.html\">EE MPI SocialHistory Legal Relationship</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social history</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 125676002}\">Person</span></p><p><b>subject</b>: <a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></p><p><b>issued</b>: 2026-03-18 12:48:40+0200</p><p><b>performer</b>: <a href=\"#hclegal-relationship-example-2/5b8723fb-e4bd-4293-b123-7723b85cd14b\">KATI KARUMÕMM - Child (https://fhir.ee/sid/pid/est/ni#62308290024)</a></p><p><b>value</b>: <span title=\"Codes:{https://fhir.ee/CodeSystem/hooldusoiguse-liik H20}\">Täielik varahooldusõigus</span></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson #5b8723fb-e4bd-4293-b123-7723b85cd14b</b></p><a name=\"legal-relationship-example-2/5b8723fb-e4bd-4293-b123-7723b85cd14b\"> </a><a name=\"hclegal-relationship-example-2/5b8723fb-e4bd-4293-b123-7723b85cd14b\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">KATI KARUMÕMM - Child (https://fhir.ee/sid/pid/est/ni#62308290024)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"The patient this person is related to\">Patient:</td><td colspan=\"3\"><a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nature of the relationship between the patient and the related person\">Relationship:</td><td colspan=\"3\"><span title=\"Codes:{http://snomed.info/sct 67822003}\">Child</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
     a fhir:RelatedPerson ;
     fhir:id [ fhir:v "5b8723fb-e4bd-4293-b123-7723b85cd14b" ] ;
     fhir:identifier ( [
       fhir:system [ fhir:v "https://fhir.ee/sid/pid/est/ni"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "62308290024" ]
     ] ) ;
     fhir:patient [
       fhir:link <http://hl7.org/fhir/Patient/pat1> ;
       fhir:reference [ fhir:v "Patient/pat1" ]
     ] ;
     fhir:relationship ( [
       fhir:coding ( [
         a sct:67822003 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "67822003" ] ;
         fhir:display [ fhir:v "Child" ]
       ] )
     ] ) ;
     fhir:name ( [
       fhir:family [ fhir:v "KARUMÕMM" ] ;
       fhir:given ( [ fhir:v "KATI" ] )
     ] )
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "social-history" ] ;
       fhir:display [ fhir:v "Social history" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:125676002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "125676002" ] ;
       fhir:display [ fhir:v "Person" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ]
  ] ; # 
  fhir:issued [ fhir:v "2026-03-18T12:48:40.304+02:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "#5b8723fb-e4bd-4293-b123-7723b85cd14b" ]
  ] ) ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [ fhir:v "https://fhir.ee/CodeSystem/hooldusoiguse-liik"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "H20" ] ;
       fhir:display [ fhir:v "Täielik varahooldusõigus" ]
     ] )
  ] . # 

<https://fhir.ee/mpi/Observation/legal-relationship-example-3> a fhir:Observation ;
  fhir:id [ fhir:v "legal-relationship-example-3"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-legal-relationship"^^xsd:anyURI ;
       fhir:link <https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-legal-relationship>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_legal-relationship-example-3\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation legal-relationship-example-3</b></p><a name=\"legal-relationship-example-3\"> </a><a name=\"hclegal-relationship-example-3\"> </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-ee-mpi-socialhistory-legal-relationship.html\">EE MPI SocialHistory Legal Relationship</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social history</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 125676002}\">Person</span></p><p><b>subject</b>: <a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></p><p><b>issued</b>: 2026-03-18 12:48:40+0200</p><p><b>performer</b>: <a href=\"#hclegal-relationship-example-3/9c1d7e42-5a3b-4f6e-8d2a-1b7c4e9f0a36\">MARTIN KARUMÕMM - Child (https://fhir.ee/sid/pid/est/ni#51503150012)</a></p><p><b>value</b>: <span title=\"Codes:{https://fhir.ee/CodeSystem/hooldusoiguse-liik H10}\">Täielik isikuhooldusõigus</span></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson #9c1d7e42-5a3b-4f6e-8d2a-1b7c4e9f0a36</b></p><a name=\"legal-relationship-example-3/9c1d7e42-5a3b-4f6e-8d2a-1b7c4e9f0a36\"> </a><a name=\"hclegal-relationship-example-3/9c1d7e42-5a3b-4f6e-8d2a-1b7c4e9f0a36\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">MARTIN KARUMÕMM - Child (https://fhir.ee/sid/pid/est/ni#51503150012)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"The patient this person is related to\">Patient:</td><td colspan=\"3\"><a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nature of the relationship between the patient and the related person\">Relationship:</td><td colspan=\"3\"><span title=\"Codes:{http://snomed.info/sct 67822003}\">Child</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Time of death of the related person\"><a href=\"StructureDefinition-ee-mpi-related-person-deceased.html\">EE MPI RelatedPerson Deceased</a></td><td colspan=\"3\">2024-03-15</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
     a fhir:RelatedPerson ;
     fhir:id [ fhir:v "9c1d7e42-5a3b-4f6e-8d2a-1b7c4e9f0a36" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "https://fhir.ee/mpi/StructureDefinition/ee-mpi-related-person-deceased"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:dateTime ;
         fhir:v "2024-03-15"^^xsd:date
       ]
     ] ) ;
     fhir:identifier ( [
       fhir:system [ fhir:v "https://fhir.ee/sid/pid/est/ni"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "51503150012" ]
     ] ) ;
     fhir:patient [
       fhir:link <http://hl7.org/fhir/Patient/pat1> ;
       fhir:reference [ fhir:v "Patient/pat1" ]
     ] ;
     fhir:relationship ( [
       fhir:coding ( [
         a sct:67822003 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "67822003" ] ;
         fhir:display [ fhir:v "Child" ]
       ] )
     ] ) ;
     fhir:name ( [
       fhir:family [ fhir:v "KARUMÕMM" ] ;
       fhir:given ( [ fhir:v "MARTIN" ] )
     ] )
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "social-history" ] ;
       fhir:display [ fhir:v "Social history" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:125676002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "125676002" ] ;
       fhir:display [ fhir:v "Person" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ]
  ] ; # 
  fhir:issued [ fhir:v "2026-03-18T12:48:40.304+02:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "#9c1d7e42-5a3b-4f6e-8d2a-1b7c4e9f0a36" ]
  ] ) ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [ fhir:v "https://fhir.ee/CodeSystem/hooldusoiguse-liik"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "H10" ] ;
       fhir:display [ fhir:v "Täielik isikuhooldusõigus" ]
     ] )
  ] . #