DHIS2 Example FHIR Implementation Guide, published by DHIS2. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/JohanGHole/alldevs-demo-ig and changes regularly. See the Directory of published versions
Draft as of 2023-09-28 |
TTL representation of the HIVPatientInfo logical model.
@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:StructureDefinition ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "HIVPatientInfo"] ; #
fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
] ; #
fhir:url [ fhir:v "https://dhis2.org/StructureDefinition/HIVPatientInfo"^^xsd:anyURI] ; #
fhir:version [ fhir:v "1.0.0"] ; #
fhir:name [ fhir:v "HIVPatientInfo"] ; #
fhir:title [ fhir:v "HIV Patient Data Model"] ; #
fhir:status [ fhir:v "draft"] ; #
fhir:date [ fhir:v "2023-09-28T13:33:49+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "DHIS2"] ; #
fhir:contact ( [
fhir:name [ fhir:v "DHIS2" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://dhis2.org" ] ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "integration@dhis2.org" ] ] )
] [
fhir:name [ fhir:v "Johan Hole" ] ;
( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "Johan@Devotta.no" ] ;
fhir:use [ fhir:v "work" ] ] )
] ) ; #
fhir:description [ fhir:v "Extension of the base patient data model. Includes properties specific to the HIV program."] ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ] ] )
] ) ; #
fhir:fhirVersion [ fhir:v "4.0.1"] ; #
fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
] ) ; #
fhir:kind [ fhir:v "logical"] ; #
fhir:abstract [ fhir:v "false"^^xsd:boolean] ; #
fhir:type [ fhir:v "https://dhis2.org/StructureDefinition/HIVPatientInfo"^^xsd:anyURI] ; #
fhir:baseDefinition [
fhir:v "https://dhis2.org/StructureDefinition/PatientInfo"^^xsd:anyURI ;
fhir:link <https://dhis2.org/StructureDefinition/PatientInfo>
] ; #
fhir:derivation [ fhir:v "specialization"] ; #
fhir:snapshot [
( fhir:element [
fhir:id [ fhir:v "HIVPatientInfo" ] ;
fhir:path [ fhir:v "HIVPatientInfo" ] ;
fhir:short [ fhir:v "HIV Patient Data Model" ] ;
fhir:definition [ fhir:v "Extension of the base patient data model. Includes properties specific to the HIV program." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ] [
fhir:id [ fhir:v "HIVPatientInfo.registrationDateTime" ] ;
fhir:path [ fhir:v "HIVPatientInfo.registrationDateTime" ] ;
fhir:short [ fhir:v "Date-Time information was entered" ] ;
fhir:definition [ fhir:v "Date and Time when the patient information was entered into DHIS2" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.registrationDateTime" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.firstregisteredAt" ] ;
fhir:path [ fhir:v "HIVPatientInfo.firstregisteredAt" ] ;
fhir:short [ fhir:v "The Org unit where the patient was first registered" ] ;
fhir:definition [ fhir:v "The Org unit where the patient was first registered" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.firstregisteredAt" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
( fhir:targetProfile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ) ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.firstName" ] ;
fhir:path [ fhir:v "HIVPatientInfo.firstName" ] ;
fhir:short [ fhir:v "Given name of the patient" ] ;
fhir:definition [ fhir:v "Given name of the patient" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.firstName" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.lastName" ] ;
fhir:path [ fhir:v "HIVPatientInfo.lastName" ] ;
fhir:short [ fhir:v "Family name" ] ;
fhir:definition [ fhir:v "Family name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.lastName" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.dateOfBirth" ] ;
fhir:path [ fhir:v "HIVPatientInfo.dateOfBirth" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.dateOfBirth" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.dateOfBirthIsEstimated" ] ;
fhir:path [ fhir:v "HIVPatientInfo.dateOfBirthIsEstimated" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.dateOfBirthIsEstimated" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.sexAtBirth" ] ;
fhir:path [ fhir:v "HIVPatientInfo.sexAtBirth" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:comment [ fhir:v "(valueset depends on the program)" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.sexAtBirth" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ;
fhir:binding [
fhir:strength [ fhir:v "example" ] ;
fhir:valueSet [
fhir:v "https://dhis2.org/ValueSet/patient-sex-at-birth-vs"^^xsd:anyURI ;
fhir:link <https://dhis2.org/ValueSet/patient-sex-at-birth-vs> ] ] ] [
fhir:id [ fhir:v "HIVPatientInfo.currentHomeAddress" ] ;
fhir:path [ fhir:v "HIVPatientInfo.currentHomeAddress" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.currentHomeAddress" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.contactPhoneNumber" ] ;
fhir:path [ fhir:v "HIVPatientInfo.contactPhoneNumber" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.contactPhoneNumber" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.countryOfBirth" ] ;
fhir:path [ fhir:v "HIVPatientInfo.countryOfBirth" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.countryOfBirth" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ;
fhir:binding [
fhir:strength [ fhir:v "example" ] ;
fhir:valueSet [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ] ] [
fhir:id [ fhir:v "HIVPatientInfo.nationaId" ] ;
fhir:path [ fhir:v "HIVPatientInfo.nationaId" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.nationaId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.consent" ] ;
fhir:path [ fhir:v "HIVPatientInfo.consent" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "PatientInfo.consent" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.hivEnrollmentUnit" ] ;
fhir:path [ fhir:v "HIVPatientInfo.hivEnrollmentUnit" ] ;
fhir:short [ fhir:v "The organization unit that first registered the person." ] ;
fhir:definition [ fhir:v "The organization unit that first registered the person." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "HIVPatientInfo.hivEnrollmentUnit" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.programNationaId" ] ;
fhir:path [ fhir:v "HIVPatientInfo.programNationaId" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "HIVPatientInfo.programNationaId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ] ;
( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.deceased" ] ;
fhir:path [ fhir:v "HIVPatientInfo.deceased" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "HIVPatientInfo.deceased" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.deceasedDate" ] ;
fhir:path [ fhir:v "HIVPatientInfo.deceasedDate" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "HIVPatientInfo.deceasedDate" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.gender" ] ;
fhir:path [ fhir:v "HIVPatientInfo.gender" ] ;
fhir:comment [ fhir:v "(valueset depends on the program)" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "HIVPatientInfo.gender" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ;
fhir:binding [
fhir:strength [ fhir:v "example" ] ;
fhir:valueSet [
fhir:v "https://dhis2.org/ValueSet/HIVPatientGenderVS"^^xsd:anyURI ;
fhir:link <https://dhis2.org/ValueSet/HIVPatientGenderVS> ] ] ] [
fhir:id [ fhir:v "HIVPatientInfo.healthFacilityCode" ] ;
fhir:path [ fhir:v "HIVPatientInfo.healthFacilityCode" ] ;
fhir:short [ fhir:v "Health facility code." ] ;
fhir:definition [ fhir:v "Health facility code." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "HIVPatientInfo.healthFacilityCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.nhisId" ] ;
fhir:path [ fhir:v "HIVPatientInfo.nhisId" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "HIVPatientInfo.nhisId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] )
] ; #
fhir:differential [
( fhir:element [
fhir:id [ fhir:v "HIVPatientInfo" ] ;
fhir:path [ fhir:v "HIVPatientInfo" ] ;
fhir:short [ fhir:v "HIV Patient Data Model" ] ;
fhir:definition [ fhir:v "Extension of the base patient data model. Includes properties specific to the HIV program." ] ] [
fhir:id [ fhir:v "HIVPatientInfo.hivEnrollmentUnit" ] ;
fhir:path [ fhir:v "HIVPatientInfo.hivEnrollmentUnit" ] ;
fhir:short [ fhir:v "The organization unit that first registered the person." ] ;
fhir:definition [ fhir:v "The organization unit that first registered the person." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.programNationaId" ] ;
fhir:path [ fhir:v "HIVPatientInfo.programNationaId" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
( fhir:type [
fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.deceased" ] ;
fhir:path [ fhir:v "HIVPatientInfo.deceased" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.deceasedDate" ] ;
fhir:path [ fhir:v "HIVPatientInfo.deceasedDate" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.gender" ] ;
fhir:path [ fhir:v "HIVPatientInfo.gender" ] ;
fhir:comment [ fhir:v "(valueset depends on the program)" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
( fhir:type [
fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ;
fhir:binding [
fhir:strength [ fhir:v "example" ] ;
fhir:valueSet [
fhir:v "https://dhis2.org/ValueSet/HIVPatientGenderVS"^^xsd:anyURI ;
fhir:link <https://dhis2.org/ValueSet/HIVPatientGenderVS> ] ] ] [
fhir:id [ fhir:v "HIVPatientInfo.healthFacilityCode" ] ;
fhir:path [ fhir:v "HIVPatientInfo.healthFacilityCode" ] ;
fhir:short [ fhir:v "Health facility code." ] ;
fhir:definition [ fhir:v "Health facility code." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] [
fhir:id [ fhir:v "HIVPatientInfo.nhisId" ] ;
fhir:path [ fhir:v "HIVPatientInfo.nhisId" ] ;
fhir:short [ fhir:v "..." ] ;
fhir:definition [ fhir:v "..." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ] )
] . #
IG © 2023+ DHIS2. Package org.hisp.dhis.alldevs.demo#1.0.0 based on FHIR 4.0.1. Generated 2023-09-28
Links: Table of Contents |
QA Report |
Version History |