{
  "resourceType": "StructureDefinition",
  "id": "vn-core-immunization",
  "url": "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-immunization",
  "version": "1.0.0",
  "name": "VNCoreImmunization",
  "title": "Immunization Profile - VN Core R4",
  "status": "draft",
  "publisher": "Cục Công nghệ thông tin - Bộ Y tế",
  "description": "Thông tin tiêm chủng của người bệnh",
  "purpose": "VN Core Profile dành cho thông tin Tiêm chủng",
  "copyright": "Bộ Y tế",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Immunization",
  "baseDefinition": "http://hl7.org/fhir/uv/ips/StructureDefinition/Immunization-uv-ips",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Immunization.identifier",
        "path": "Immunization.identifier",
        "mustSupport": true
      },
      {
        "id": "Immunization.statusReason",
        "path": "Immunization.statusReason",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Immunization.vaccineCode",
        "path": "Immunization.vaccineCode",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Immunization.vaccineCode:vaccineCode",
        "path": "Immunization.vaccineCode",
        "sliceName": "vaccineCode",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://moh.gov.vn/fhir/core/ValueSet/vaccine-code"
        }
      },
      {
        "id": "Immunization.patient",
        "path": "Immunization.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-patient"
            ]
          }
        ]
      },
      {
        "id": "Immunization.encounter",
        "path": "Immunization.encounter",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-encounter"
            ]
          }
        ]
      },
      {
        "id": "Immunization.recorded",
        "path": "Immunization.recorded",
        "mustSupport": true
      },
      {
        "id": "Immunization.reportOrigin",
        "path": "Immunization.reportOrigin",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Immunization.location",
        "path": "Immunization.location",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Location",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-location"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Immunization.manufacturer",
        "path": "Immunization.manufacturer",
        "mustSupport": true
      },
      {
        "id": "Immunization.manufacturer.display",
        "path": "Immunization.manufacturer.display",
        "min": 1
      },
      {
        "id": "Immunization.lotNumber",
        "path": "Immunization.lotNumber",
        "mustSupport": true
      },
      {
        "id": "Immunization.expirationDate",
        "path": "Immunization.expirationDate",
        "mustSupport": true
      },
      {
        "id": "Immunization.site",
        "path": "Immunization.site",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Immunization.route",
        "path": "Immunization.route",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Immunization.doseQuantity",
        "path": "Immunization.doseQuantity",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/SimpleQuantity-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Immunization.performer.actor",
        "path": "Immunization.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-practitioner"
            ]
          }
        ]
      },
      {
        "id": "Immunization.reasonCode",
        "path": "Immunization.reasonCode",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Immunization.reasonReference",
        "path": "Immunization.reasonReference",
        "mustSupport": true
      },
      {
        "id": "Immunization.subpotentReason",
        "path": "Immunization.subpotentReason",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Immunization.programEligibility",
        "path": "Immunization.programEligibility",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Immunization.fundingSource",
        "path": "Immunization.fundingSource",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Immunization.reaction",
        "path": "Immunization.reaction",
        "mustSupport": true
      },
      {
        "id": "Immunization.protocolApplied",
        "path": "Immunization.protocolApplied",
        "mustSupport": true
      },
      {
        "id": "Immunization.protocolApplied.targetDisease",
        "path": "Immunization.protocolApplied.targetDisease",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Immunization.protocolApplied.targetDisease:targetDiseaseGPSCode",
        "path": "Immunization.protocolApplied.targetDisease",
        "sliceName": "targetDiseaseGPSCode",
        "binding": {
          "strength": "required",
          "valueSet": "http://moh.gov.vn/fhir/core/ValueSet/vn-core-condition-code"
        }
      }
    ]
  }
}