openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

: doe-family - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Group;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "doe-family"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-group";
       fhir:index 0;
       fhir:link <https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-group>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource \"doe-family\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-openimis-group.html\">openIMIS Group</a></p></div><p><b>Poverty Status (Group)</b>: </p><p><b>Poverty Status (Group)</b>: false</p><p><b>Group Type (Group)</b>: Household <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-group-type.html\">GroupType</a>#H)</span></p><blockquote><p><b>Confirmation (Group)</b></p><p><b>value</b>: Reg123456</p><p><b>value</b>: Municipality <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-group-confirmation-type.html\">Confirmation Types (Group)</a>#B)</span></p></blockquote><p><b>identifier</b>: UUID unique identifier: D30F70DF-D10B-43D4-BF31-5137C118AD82, Unique code: 123456788</p><p><b>active</b>: true</p><p><b>type</b>: person</p><p><b>actual</b>: true</p><p><b>name</b>: Doe Jane</p><p><b>quantity</b>: 2</p><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"Patient-john-doe.html\">Patient/john-doe</a> \" DOE\"</p></blockquote><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"Patient-jane-doe.html\">Patient/jane-doe</a> \" DOE\"</p></blockquote></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-address" ];
     fhir:Extension.valueAddress [
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-location-reference" ];
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "Location/Jamula-village" ]         ]       ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-poverty-status" ];
     fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-type" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/group-type" ];
         fhir:Coding.code [ fhir:value "H" ];
         fhir:Coding.display [ fhir:value "Household" ]       ]     ]
  ], [
     fhir:index 3;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "number" ];
       fhir:Extension.valueString [ fhir:value "Reg123456" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "type" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/group-confirmation-type" ];
           fhir:Coding.code [ fhir:value "B" ];
           fhir:Coding.display [ fhir:value "Municipality" ]         ]       ]     ];
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/group-confirmation" ]
  ];
  fhir:Group.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/openimis-identifiers" ];
         fhir:Coding.code [ fhir:value "UUID" ]       ]     ];
     fhir:Identifier.value [ fhir:value "D30F70DF-D10B-43D4-BF31-5137C118AD82" ]
  ], [
     fhir:index 1;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/openimis-identifiers" ];
         fhir:Coding.code [ fhir:value "Code" ]       ]     ];
     fhir:Identifier.value [ fhir:value "123456788" ]
  ];
  fhir:Group.active [ fhir:value "true"^^xsd:boolean];
  fhir:Group.type [ fhir:value "person"];
  fhir:Group.actual [ fhir:value "true"^^xsd:boolean];
  fhir:Group.name [ fhir:value "Doe Jane"];
  fhir:Group.quantity [ fhir:value "2"^^xsd:nonNegativeInteger];
  fhir:Group.member [
     fhir:index 0;
     fhir:Group.member.entity [
       fhir:Reference.reference [ fhir:value "Patient/john-doe" ]     ]
  ], [
     fhir:index 1;
     fhir:Group.member.entity [
       fhir:Reference.reference [ fhir:value "Patient/jane-doe" ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.