DHIS2 Example FHIR Implementation Guide
1.0.0 - ci-build International flag

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

Logical Model: HIVCaseData - JSON Profile

Draft as of 2023-09-28

JSON representation of the HIVCaseData logical model.

Raw json | Download


{
  "resourceType" : "StructureDefinition",
  "id" : "HIVCaseData",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
  },
  "url" : "https://dhis2.org/StructureDefinition/HIVCaseData",
  "version" : "1.0.0",
  "name" : "HIVCaseData",
  "title" : "HIV Initial Case Report",
  "status" : "draft",
  "date" : "2023-09-28T13:33:49+00:00",
  "publisher" : "DHIS2",
  "contact" : [
    {
      "name" : "DHIS2",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://dhis2.org"
        },
        {
          "system" : "email",
          "value" : "integration@dhis2.org"
        }
      ]
    },
    {
      "name" : "Johan Hole",
      "telecom" : [
        {
          "system" : "email",
          "value" : "Johan@Devotta.no",
          "use" : "work"
        }
      ]
    }
  ],
  "description" : "Initial case report filled out after enrollment.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    }
  ],
  "kind" : "logical",
  "abstract" : false,
  "type" : "https://dhis2.org/StructureDefinition/HIVCaseData",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [
      {
        "id" : "HIVCaseData",
        "path" : "HIVCaseData",
        "short" : "HIV Initial Case Report",
        "definition" : "Initial case report filled out after enrollment.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Base",
          "min" : 0,
          "max" : "*"
        },
        "isModifier" : false
      },
      {
        "id" : "HIVCaseData.initialCaseReportDate",
        "path" : "HIVCaseData.initialCaseReportDate",
        "short" : "Initial Case Report",
        "definition" : "Initial Case Report",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.initialCaseReportDate",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "HIVCaseData.dateHIVPositiveTest",
        "path" : "HIVCaseData.dateHIVPositiveTest",
        "short" : "Date of documented positive HIV test",
        "definition" : "Date of documented positive HIV test",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.dateHIVPositiveTest",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "HIVCaseData.ageWhenDiagnosedWithHiv",
        "path" : "HIVCaseData.ageWhenDiagnosedWithHiv",
        "short" : "Age at diagnosis",
        "definition" : "Age at diagnosis",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.ageWhenDiagnosedWithHiv",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "HIVCaseData.verticalTransmission",
        "path" : "HIVCaseData.verticalTransmission",
        "short" : "Vertical transmission",
        "definition" : "Vertical transmission",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.verticalTransmission",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.typeOfTesting",
        "path" : "HIVCaseData.typeOfTesting",
        "short" : "Type of community-level testing",
        "definition" : "Type of community-level testing",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.typeOfTesting",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "binding" : {
          "strength" : "example",
          "valueSet" : "https://dhis2.org/ValueSet/HIVtypeOfTestingVS"
        }
      },
      {
        "id" : "HIVCaseData.facilityLevelTestingEntryPoint",
        "path" : "HIVCaseData.facilityLevelTestingEntryPoint",
        "short" : "Entry point for facility-level testing",
        "definition" : "Entry point for facility-level testing",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.facilityLevelTestingEntryPoint",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "binding" : {
          "strength" : "example",
          "valueSet" : "https://dhis2.org/ValueSet/HIVfacilityLevelTestingEntryPointsVS"
        }
      },
      {
        "id" : "HIVCaseData.patientInKeyPopGroup",
        "path" : "HIVCaseData.patientInKeyPopGroup",
        "short" : "Does this person belong to any Key Population groups",
        "definition" : "Does this person belong to any Key Population groups",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.patientInKeyPopGroup",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupMenWhoHaveSexWithMen",
        "path" : "HIVCaseData.keyPopGroupMenWhoHaveSexWithMen",
        "short" : "Key population - Men who have sex with men",
        "definition" : "Key population - Men who have sex with men",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.keyPopGroupMenWhoHaveSexWithMen",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupInjectionDrugUser",
        "path" : "HIVCaseData.keyPopGroupInjectionDrugUser",
        "short" : "Key population - Injection drug user",
        "definition" : "Key population - Injection drug user",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.keyPopGroupInjectionDrugUser",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupPrisoner",
        "path" : "HIVCaseData.keyPopGroupPrisoner",
        "short" : "Key population - Prisoner",
        "definition" : "Key population - Prisoner",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.keyPopGroupPrisoner",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupSexWorker",
        "path" : "HIVCaseData.keyPopGroupSexWorker",
        "short" : "Key population - Sex worker",
        "definition" : "Key population - Sex worker",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.keyPopGroupSexWorker",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupTransgender",
        "path" : "HIVCaseData.keyPopGroupTransgender",
        "short" : "Key population - Transgender",
        "definition" : "Key population - Transgender",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "HIVCaseData.keyPopGroupTransgender",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "HIVCaseData",
        "path" : "HIVCaseData",
        "short" : "HIV Initial Case Report",
        "definition" : "Initial case report filled out after enrollment."
      },
      {
        "id" : "HIVCaseData.initialCaseReportDate",
        "path" : "HIVCaseData.initialCaseReportDate",
        "short" : "Initial Case Report",
        "definition" : "Initial Case Report",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "HIVCaseData.dateHIVPositiveTest",
        "path" : "HIVCaseData.dateHIVPositiveTest",
        "short" : "Date of documented positive HIV test",
        "definition" : "Date of documented positive HIV test",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "HIVCaseData.ageWhenDiagnosedWithHiv",
        "path" : "HIVCaseData.ageWhenDiagnosedWithHiv",
        "short" : "Age at diagnosis",
        "definition" : "Age at diagnosis",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "HIVCaseData.verticalTransmission",
        "path" : "HIVCaseData.verticalTransmission",
        "short" : "Vertical transmission",
        "definition" : "Vertical transmission",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.typeOfTesting",
        "path" : "HIVCaseData.typeOfTesting",
        "short" : "Type of community-level testing",
        "definition" : "Type of community-level testing",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "binding" : {
          "strength" : "example",
          "valueSet" : "https://dhis2.org/ValueSet/HIVtypeOfTestingVS"
        }
      },
      {
        "id" : "HIVCaseData.facilityLevelTestingEntryPoint",
        "path" : "HIVCaseData.facilityLevelTestingEntryPoint",
        "short" : "Entry point for facility-level testing",
        "definition" : "Entry point for facility-level testing",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "binding" : {
          "strength" : "example",
          "valueSet" : "https://dhis2.org/ValueSet/HIVfacilityLevelTestingEntryPointsVS"
        }
      },
      {
        "id" : "HIVCaseData.patientInKeyPopGroup",
        "path" : "HIVCaseData.patientInKeyPopGroup",
        "short" : "Does this person belong to any Key Population groups",
        "definition" : "Does this person belong to any Key Population groups",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupMenWhoHaveSexWithMen",
        "path" : "HIVCaseData.keyPopGroupMenWhoHaveSexWithMen",
        "short" : "Key population - Men who have sex with men",
        "definition" : "Key population - Men who have sex with men",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupInjectionDrugUser",
        "path" : "HIVCaseData.keyPopGroupInjectionDrugUser",
        "short" : "Key population - Injection drug user",
        "definition" : "Key population - Injection drug user",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupPrisoner",
        "path" : "HIVCaseData.keyPopGroupPrisoner",
        "short" : "Key population - Prisoner",
        "definition" : "Key population - Prisoner",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupSexWorker",
        "path" : "HIVCaseData.keyPopGroupSexWorker",
        "short" : "Key population - Sex worker",
        "definition" : "Key population - Sex worker",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "HIVCaseData.keyPopGroupTransgender",
        "path" : "HIVCaseData.keyPopGroupTransgender",
        "short" : "Key population - Transgender",
        "definition" : "Key population - Transgender",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      }
    ]
  }
}