FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesynapxe.hsar.hsg
Resource TypeStructureDefinition
Idprofile-HealthPlan-base.json
FHIR VersionR4B
Sourcehttps://simplifier.net/resolve?scope=synapxe.hsar.hsg@4.3.0-v3&canonical=http://ihis.sg/StructureDefinition/CarePlan-pophealth-plan-base
URLhttp://ihis.sg/StructureDefinition/CarePlan-pophealth-plan-base
Version4.3.0-v3
Statusactive
Nameprofile-HealthPlan-base
TypeCarePlan
Kindresource

Resources that use this resource

StructureDefinition
synapxe.hsar.hsg#4.3.0-v3CarePlan-pophealth-get-health-plan-listprofile-Healthplan-get-health-plan-list

Resources that this resource uses

StructureDefinition
synapxe.hsar#1.0.0dueDateextension-HealthPlan-dueDate
synapxe.hsar.hsg#4.3.0-v3health-plan-copy-statusextension-HealthPlan-copy-status
synapxe.hsar#1.0.0health-plan-note-typeextension-HealthPlan-healthplanNoteType
synapxe.hsar.hsg#4.3.0-v3health-plan-visit-modeextension-HealthPlan-visit-mode
synapxe.hsar#1.0.0performerextension-HealthPlan-performer
ValueSet
synapxe.hsar.hsg#4.3.0-v3hsg-action-plan-categoryhsg-action-plan-category
synapxe.hsar.hsg#4.3.0-v3hsg-action-plan-diet-itemhsg-action-plan-diet-item
synapxe.hsar.hsg#4.3.0-v3hsg-action-plan-vaccination-itemhsg-action-plan-vaccination-item
synapxe.hsar.hsg#4.3.0-v3hsg-care-plan-categoryhsg-care-plan-category
synapxe.hsar.hsg#4.3.0-v3hsg-healthplan-activity-typehsg-healthplan-activity-type

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "url": "http://ihis.sg/StructureDefinition/CarePlan-pophealth-plan-base",
  "version": "4.3.0-v3",
  "name": "profile-HealthPlan-base",
  "status": "active",
  "fhirVersion": "4.3.0",
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan",
        "path": "CarePlan",
        "constraint": [
          {
            "key": "healthplan-goal-gm002-dueDate",
            "severity": "error",
            "human": "GM002 dueDate must be greater than period.start",
            "expression": "contained.exists().not() or contained.where(description.coding.where(code = 'G2')).exists().not() or contained.where(description.coding.where(code = 'G2')).target.exists().not() or contained.where(description.coding.where(code = 'G2')).target.where(measure.coding.where(code='GM002')).due.exists().not() or contained.where(description.coding.where(code = 'G2')).target.where(measure.coding.where(code='GM002')).due>period.start"
          },
          {
            "key": "healthplan-goal-gm010-dueDate",
            "severity": "error",
            "human": "GM010 dueDate must be greater than period.start",
            "expression": "contained.exists().not() or contained.where(description.coding.where(code = 'G2')).exists().not() or contained.where(description.coding.where(code = 'G2')).target.exists().not() or contained.where(description.coding.where(code = 'G2')).target.where(measure.coding.where(code='GM010')).due.exists().not() or contained.where(description.coding.where(code = 'G2')).target.where(measure.coding.where(code='GM010')).due>period.start"
          },
          {
            "key": "healthplan-activity-recommended-scheduled",
            "severity": "error",
            "human": "Year of recommended-next-check-in must be greater than or equal to year of period.start",
            "expression": "activity.detail.where(code.coding.where(code='recommended-next-check-in')).scheduled.event.toString().substring(0, 4)>=period.start.toString().substring(0, 4)"
          },
          {
            "key": "healthplan-activity-vaccination-INF-constraint",
            "severity": "error",
            "human": "if vaccination 'A-INF' exists, then either scheduledtiming or duedate extension must be present.",
            "expression": "activity.detail.where(code.coding.where(code = 'A-INF').exists()).all(scheduled.exists() or extension.where(url = 'http://ihis.sg/extension/dueDate').exists())"
          },
          {
            "key": "healthplan-activity-vaccination-dueDate-scheduled-constraint",
            "severity": "error",
            "human": "If code is not A-INF, then dueDate is mandatory and scheduledTiming should not be present.",
            "expression": "activity.detail.where(code.coding.where(system = 'http://ihis.sg/ValueSet/hsg-action-plan-vaccination-item' and code != 'A-INF').exists()).all(extension.where(url = 'http://ihis.sg/extension/dueDate').exists() and scheduled.empty())"
          }
        ]
      },
      {
        "id": "CarePlan.implicitRules",
        "path": "CarePlan.implicitRules",
        "max": "0"
      },
      {
        "id": "CarePlan.language",
        "path": "CarePlan.language",
        "max": "0"
      },
      {
        "id": "CarePlan.text",
        "path": "CarePlan.text",
        "max": "0"
      },
      {
        "id": "CarePlan.extension",
        "path": "CarePlan.extension",
        "short": "n/a",
        "definition": "n/a",
        "comment": "The extension is in the format of key/value pair, where the key is specified in 'url' attribute, and the value is specified in the 'value[Type]' attribute, the type can be Coding, String, Date or others depending on the definition specified in Data Type.\n\nAll the extension url is be prefixed with \"http://ihis.sg/extension\" and followed by friendly short name"
      },
      {
        "id": "CarePlan.extension:performer",
        "path": "CarePlan.extension",
        "sliceName": "performer",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/performer"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.extension:performer.extension",
        "path": "CarePlan.extension.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.extension:visitMode",
        "path": "CarePlan.extension",
        "sliceName": "visitMode",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/health-plan-visit-mode"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.extension:visitMode.extension",
        "path": "CarePlan.extension.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.extension:copyStatus",
        "path": "CarePlan.extension",
        "sliceName": "copyStatus",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/health-plan-copy-status"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.extension:copyStatus.extension",
        "path": "CarePlan.extension.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.modifierExtension",
        "path": "CarePlan.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier",
        "path": "CarePlan.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.instantiatesCanonical",
        "path": "CarePlan.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "CarePlan.instantiatesUri",
        "path": "CarePlan.instantiatesUri",
        "max": "0"
      },
      {
        "id": "CarePlan.basedOn",
        "path": "CarePlan.basedOn",
        "max": "0"
      },
      {
        "id": "CarePlan.replaces",
        "path": "CarePlan.replaces",
        "max": "0"
      },
      {
        "id": "CarePlan.partOf",
        "path": "CarePlan.partOf",
        "max": "0"
      },
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "short": "n/a",
        "definition": "Fixed to \"active\"",
        "comment": "Fixed to \"active\"",
        "requirements": "n/a",
        "fixedCode": "active",
        "isModifierReason": "n/a"
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "short": "n/a",
        "definition": "Care Plan intent. FHIR valueset of \"Care Plan Intent\".",
        "comment": "Fixed value: \"plan\"",
        "requirements": "n/a",
        "fixedCode": "plan",
        "isModifierReason": "n/a"
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "short": "n/a",
        "definition": "FHIR Value set \"Care Plan Category\". Customise codeset",
        "comment": "n/a",
        "requirements": "n/a",
        "max": "1"
      },
      {
        "id": "CarePlan.category.id",
        "path": "CarePlan.category.id",
        "max": "0"
      },
      {
        "id": "CarePlan.category.extension",
        "path": "CarePlan.category.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.category.coding",
        "path": "CarePlan.category.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-care-plan-category"
        }
      },
      {
        "id": "CarePlan.category.coding.id",
        "path": "CarePlan.category.coding.id",
        "max": "0"
      },
      {
        "id": "CarePlan.category.coding.extension",
        "path": "CarePlan.category.coding.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.category.coding.system",
        "path": "CarePlan.category.coding.system",
        "short": "n/a",
        "definition": "Identity of the terminology system",
        "comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-care-plan-category\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-care-plan-category"
      },
      {
        "id": "CarePlan.category.coding.version",
        "path": "CarePlan.category.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.category.coding.code",
        "path": "CarePlan.category.coding.code",
        "short": "n/a",
        "definition": "internal code for the terminology code",
        "comment": "Fixed Value : \"pophealth-plan\"",
        "requirements": "n/a",
        "min": 1,
        "fixedCode": "pophealth-plan"
      },
      {
        "id": "CarePlan.category.coding.display",
        "path": "CarePlan.category.coding.display",
        "short": "n/a",
        "definition": "Description of the terminology code for display purpose",
        "comment": "Fixed value: \"Pophealth Plan\"",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.category.coding.userSelected",
        "path": "CarePlan.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.category.text",
        "path": "CarePlan.category.text",
        "max": "0"
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "max": "0"
      },
      {
        "id": "CarePlan.description",
        "path": "CarePlan.description",
        "max": "0"
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "short": "n/a",
        "definition": "Reference to the patient in patient master to link this healthplan",
        "comment": "n/a",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.subject.id",
        "path": "CarePlan.subject.id",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.extension",
        "path": "CarePlan.subject.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.type",
        "path": "CarePlan.subject.type",
        "short": "n/a",
        "definition": "Indicate that the the identifier below is for Patient",
        "comment": "Fixed Value : \"Patient\"",
        "min": 1,
        "fixedUri": "Patient"
      },
      {
        "id": "CarePlan.subject.identifier",
        "path": "CarePlan.subject.identifier",
        "short": "n/a",
        "definition": "Grouping of identifier",
        "comment": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.subject.identifier.id",
        "path": "CarePlan.subject.identifier.id",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.identifier.extension",
        "path": "CarePlan.subject.identifier.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.identifier.use",
        "path": "CarePlan.subject.identifier.use",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.identifier.type",
        "path": "CarePlan.subject.identifier.type",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.identifier.system",
        "path": "CarePlan.subject.identifier.system",
        "short": "n/a",
        "definition": "The namespace for the identifier patient nric",
        "comment": "Fixed Value : \"http://ihis.sg/identifier/nric\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/identifier/nric"
      },
      {
        "id": "CarePlan.subject.identifier.value",
        "path": "CarePlan.subject.identifier.value",
        "short": "n/a",
        "definition": "Value of patient nric",
        "comment": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.subject.identifier.period",
        "path": "CarePlan.subject.identifier.period",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.identifier.assigner",
        "path": "CarePlan.subject.identifier.assigner",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.display",
        "path": "CarePlan.subject.display",
        "max": "0"
      },
      {
        "id": "CarePlan.encounter",
        "path": "CarePlan.encounter",
        "max": "0"
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "short": "n/a",
        "definition": "Period of this health plan",
        "comment": "n/a",
        "requirements": "n.a",
        "min": 1
      },
      {
        "id": "CarePlan.period.id",
        "path": "CarePlan.period.id",
        "max": "0"
      },
      {
        "id": "CarePlan.period.extension",
        "path": "CarePlan.period.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.period.start",
        "path": "CarePlan.period.start",
        "short": "n/a",
        "definition": "Health plan start date.",
        "comment": "Sample Value: \"2022-01-01T10:30:01+08:00\"",
        "min": 1
      },
      {
        "id": "CarePlan.period.end",
        "path": "CarePlan.period.end",
        "short": "n/a",
        "definition": "end date of health plan",
        "comment": "Sample Value: \"2022-01-01T10:30:01+08:00\"",
        "meaningWhenMissing": "n/a"
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "short": "n/a",
        "definition": "Reference to PCP Organization thatmanages the health plan for the patient.",
        "comment": "n/a",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.author.id",
        "path": "CarePlan.author.id",
        "max": "0"
      },
      {
        "id": "CarePlan.author.extension",
        "path": "CarePlan.author.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.author.type",
        "path": "CarePlan.author.type",
        "short": "n/a",
        "definition": "Indicate that the the identifier below is for Organization",
        "comment": "Fixed value : \"Organization\"",
        "min": 1,
        "fixedUri": "Organization"
      },
      {
        "id": "CarePlan.author.identifier",
        "path": "CarePlan.author.identifier",
        "short": "n/a",
        "definition": "Grouping of identifier",
        "comment": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.author.identifier.id",
        "path": "CarePlan.author.identifier.id",
        "max": "0"
      },
      {
        "id": "CarePlan.author.identifier.extension",
        "path": "CarePlan.author.identifier.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.author.identifier.use",
        "path": "CarePlan.author.identifier.use",
        "max": "0"
      },
      {
        "id": "CarePlan.author.identifier.type",
        "path": "CarePlan.author.identifier.type",
        "max": "0"
      },
      {
        "id": "CarePlan.author.identifier.system",
        "path": "CarePlan.author.identifier.system",
        "short": "n/a",
        "definition": "The namespace for the identifier hci code",
        "comment": "Use fixed Value : \"http://ihis.sg/identifier/hci-code\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/identifier/hci-code"
      },
      {
        "id": "CarePlan.author.identifier.value",
        "path": "CarePlan.author.identifier.value",
        "short": "n/a",
        "definition": "Value of hci code",
        "comment": "Sample Value : \"HCI45678\"",
        "min": 1,
        "constraint": [
          {
            "key": "max-string-length-9",
            "severity": "error",
            "human": "String length must not exceed 9 characters",
            "expression": "$this.toString().length() <= 9"
          }
        ]
      },
      {
        "id": "CarePlan.author.identifier.period",
        "path": "CarePlan.author.identifier.period",
        "max": "0"
      },
      {
        "id": "CarePlan.author.identifier.assigner",
        "path": "CarePlan.author.identifier.assigner",
        "max": "0"
      },
      {
        "id": "CarePlan.contributor",
        "path": "CarePlan.contributor",
        "max": "0"
      },
      {
        "id": "CarePlan.careTeam",
        "path": "CarePlan.careTeam",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses",
        "path": "CarePlan.addresses",
        "short": "n/a",
        "definition": "n/a",
        "comment": "Repeat the below reference element if there are multiple condition tags",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.addresses.id",
        "path": "CarePlan.addresses.id",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.extension",
        "path": "CarePlan.addresses.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.reference",
        "path": "CarePlan.addresses.reference",
        "short": "n/a",
        "definition": "Reference to contained condition resource",
        "comment": "Sample Value: \"#f873f0480edf4e7da98c01be4c050710\"",
        "min": 1,
        "constraint": [
          {
            "key": "max-string-length-255",
            "severity": "error",
            "human": "String length must not exceed 255 characters",
            "expression": "$this.toString().length() <= 255"
          }
        ]
      },
      {
        "id": "CarePlan.addresses.type",
        "path": "CarePlan.addresses.type",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.identifier",
        "path": "CarePlan.addresses.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.display",
        "path": "CarePlan.addresses.display",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo",
        "path": "CarePlan.supportingInfo",
        "max": "0"
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "short": "n/a",
        "definition": "n/a",
        "comment": "n/a",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.goal.id",
        "path": "CarePlan.goal.id",
        "max": "0"
      },
      {
        "id": "CarePlan.goal.extension",
        "path": "CarePlan.goal.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.goal.reference",
        "path": "CarePlan.goal.reference",
        "short": "n/a",
        "definition": "Reference to contained goal resource",
        "comment": "Fixed Value: \"#f873f0480edf4e7da98c01be4c05ad91\"",
        "min": 1,
        "constraint": [
          {
            "key": "max-string-length-255",
            "severity": "error",
            "human": "String length must not exceed 255 characters",
            "expression": "$this.toString().length() <= 255"
          }
        ]
      },
      {
        "id": "CarePlan.goal.type",
        "path": "CarePlan.goal.type",
        "max": "0"
      },
      {
        "id": "CarePlan.goal.identifier",
        "path": "CarePlan.goal.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.goal.display",
        "path": "CarePlan.goal.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity",
        "path": "CarePlan.activity",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "detail.code.coding.system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "CarePlan.activity.extension",
        "path": "CarePlan.activity.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.modifierExtension",
        "path": "CarePlan.activity.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.outcomeReference",
        "path": "CarePlan.activity.outcomeReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.progress",
        "path": "CarePlan.activity.progress",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.reference",
        "path": "CarePlan.activity.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in",
        "path": "CarePlan.activity",
        "sliceName": "recommended-next-check-in",
        "short": "n/a",
        "definition": "Represent next appointment date",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.id",
        "path": "CarePlan.activity.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.extension",
        "path": "CarePlan.activity.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.modifierExtension",
        "path": "CarePlan.activity.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.outcomeCodeableConcept",
        "path": "CarePlan.activity.outcomeCodeableConcept",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.outcomeReference",
        "path": "CarePlan.activity.outcomeReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.progress",
        "path": "CarePlan.activity.progress",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.reference",
        "path": "CarePlan.activity.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail",
        "path": "CarePlan.activity.detail",
        "short": "n/a",
        "definition": "Grouping of detail",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.id",
        "path": "CarePlan.activity.detail.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.extension",
        "path": "CarePlan.activity.detail.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.modifierExtension",
        "path": "CarePlan.activity.detail.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.kind",
        "path": "CarePlan.activity.detail.kind",
        "short": "n/a",
        "definition": "Type of activity",
        "comment": "Fixed Value: \"Appointment\"",
        "requirements": "n/a",
        "min": 1,
        "fixedCode": "Appointment"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.instantiatesCanonical",
        "path": "CarePlan.activity.detail.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.instantiatesUri",
        "path": "CarePlan.activity.detail.instantiatesUri",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code",
        "path": "CarePlan.activity.detail.code",
        "short": "n/a",
        "definition": "n/a",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-healthplan-activity-type"
        }
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.id",
        "path": "CarePlan.activity.detail.code.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.extension",
        "path": "CarePlan.activity.detail.code.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding",
        "path": "CarePlan.activity.detail.code.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.id",
        "path": "CarePlan.activity.detail.code.coding.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.extension",
        "path": "CarePlan.activity.detail.code.coding.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.system",
        "path": "CarePlan.activity.detail.code.coding.system",
        "short": "n/a",
        "definition": "Identity of the terminology system",
        "comment": "Sample Value : \"http://ihis.sg/ValueSet/hsg-healthplan-activity-type\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-healthplan-activity-type"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.version",
        "path": "CarePlan.activity.detail.code.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.code",
        "path": "CarePlan.activity.detail.code.coding.code",
        "short": "n/a",
        "definition": "The code of the coding",
        "comment": "Sample Value : \"recommended-next-check-in\"",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.display",
        "path": "CarePlan.activity.detail.code.coding.display",
        "short": "n/a",
        "definition": "Display value of the coding",
        "comment": "Sample Value : \"Recommended Next Check-in\"",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.userSelected",
        "path": "CarePlan.activity.detail.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.code.text",
        "path": "CarePlan.activity.detail.code.text",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.reasonCode",
        "path": "CarePlan.activity.detail.reasonCode",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.reasonReference",
        "path": "CarePlan.activity.detail.reasonReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.goal",
        "path": "CarePlan.activity.detail.goal",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.status",
        "path": "CarePlan.activity.detail.status",
        "short": "n/a",
        "definition": "status of the activity",
        "comment": "Fixed Value: \"scheduled\"",
        "requirements": "n/a",
        "fixedCode": "scheduled"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.statusReason",
        "path": "CarePlan.activity.detail.statusReason",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.doNotPerform",
        "path": "CarePlan.activity.detail.doNotPerform",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.scheduled[x]",
        "path": "CarePlan.activity.detail.scheduled[x]",
        "short": "n/a",
        "definition": "When activity is to occur\nNext visit date is mapped as activity detail",
        "requirements": "Format: YYYY-MM",
        "min": 1,
        "type": [
          {
            "code": "Timing"
          }
        ]
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.scheduled[x].id",
        "path": "CarePlan.activity.detail.scheduled[x].id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.scheduled[x].extension",
        "path": "CarePlan.activity.detail.scheduled[x].extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.scheduled[x].modifierExtension",
        "path": "CarePlan.activity.detail.scheduled[x].modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.scheduled[x].event",
        "path": "CarePlan.activity.detail.scheduled[x].event",
        "short": "n/a",
        "definition": "When the event occur",
        "comment": "Sample Value: \"2023-10\"",
        "requirements": "n/a",
        "min": 1,
        "max": "1",
        "constraint": [
          {
            "key": "healthplan-scheduledTiming",
            "severity": "error",
            "human": "Expected date format is YYYY-MM.",
            "expression": "$this.toString().matches('^\\\\d{4}-(0[1-9]|1[0-2])[%content%]#39;)"
          }
        ]
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.scheduled[x].repeat",
        "path": "CarePlan.activity.detail.scheduled[x].repeat",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.scheduled[x].code",
        "path": "CarePlan.activity.detail.scheduled[x].code",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.location",
        "path": "CarePlan.activity.detail.location",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.performer",
        "path": "CarePlan.activity.detail.performer",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.product[x]",
        "path": "CarePlan.activity.detail.product[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.dailyAmount",
        "path": "CarePlan.activity.detail.dailyAmount",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.quantity",
        "path": "CarePlan.activity.detail.quantity",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:recommended-next-check-in.detail.description",
        "path": "CarePlan.activity.detail.description",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet",
        "path": "CarePlan.activity",
        "sliceName": "Diet",
        "short": "n/a",
        "definition": "Represent action plan in health plan Diet",
        "requirements": "n/a",
        "max": "8"
      },
      {
        "id": "CarePlan.activity:Diet.id",
        "path": "CarePlan.activity.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.extension",
        "path": "CarePlan.activity.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.modifierExtension",
        "path": "CarePlan.activity.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept",
        "path": "CarePlan.activity.outcomeCodeableConcept",
        "short": "n/a",
        "definition": "Represent category of action plan",
        "comment": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.id",
        "path": "CarePlan.activity.outcomeCodeableConcept.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.extension",
        "path": "CarePlan.activity.outcomeCodeableConcept.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-action-plan-category"
        }
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding.id",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding.extension",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding.system",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.system",
        "short": "n/a",
        "definition": "The terminology system of the coding",
        "comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-action-plan-category\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-action-plan-category"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding.version",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding.code",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.code",
        "short": "n/a",
        "definition": "The code of the coding",
        "comment": "Sample Value : \"AP1\"",
        "requirements": "n/a",
        "min": 1,
        "fixedCode": "AP1"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding.display",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.display",
        "short": "n/a",
        "definition": "Display value of the coding",
        "comment": "Sample Value : \"Diet\"",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.coding.userSelected",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeCodeableConcept.text",
        "path": "CarePlan.activity.outcomeCodeableConcept.text",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.outcomeReference",
        "path": "CarePlan.activity.outcomeReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.progress",
        "path": "CarePlan.activity.progress",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.reference",
        "path": "CarePlan.activity.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail",
        "path": "CarePlan.activity.detail",
        "short": "n/a",
        "definition": "Grouping of detail",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.activity:Diet.detail.id",
        "path": "CarePlan.activity.detail.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.extension",
        "path": "CarePlan.activity.detail.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.modifierExtension",
        "path": "CarePlan.activity.detail.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.kind",
        "path": "CarePlan.activity.detail.kind",
        "short": "n/a",
        "definition": "Type of activity",
        "comment": "Fixed Value: \"ServiceRequest\"",
        "requirements": "n/a",
        "min": 1,
        "fixedCode": "ServiceRequest"
      },
      {
        "id": "CarePlan.activity:Diet.detail.instantiatesCanonical",
        "path": "CarePlan.activity.detail.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.instantiatesUri",
        "path": "CarePlan.activity.detail.instantiatesUri",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code",
        "path": "CarePlan.activity.detail.code",
        "short": "n/a",
        "definition": "Detail type of activity",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-action-plan-diet-item"
        }
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.id",
        "path": "CarePlan.activity.detail.code.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.extension",
        "path": "CarePlan.activity.detail.code.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding",
        "path": "CarePlan.activity.detail.code.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding.id",
        "path": "CarePlan.activity.detail.code.coding.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding.extension",
        "path": "CarePlan.activity.detail.code.coding.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding.system",
        "path": "CarePlan.activity.detail.code.coding.system",
        "short": "n/a",
        "definition": "The terminology system of the coding",
        "comment": "Sample Value : \"http://ihis.sg/ValueSet/hsg-action-plan-diet-item\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-action-plan-diet-item"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding.version",
        "path": "CarePlan.activity.detail.code.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding.code",
        "path": "CarePlan.activity.detail.code.coding.code",
        "short": "n/a",
        "definition": "The code of the coding",
        "comment": "Sample Value : \"DI001\"",
        "requirements": "n/a",
        "min": 1,
        "constraint": [
          {
            "key": "healthplan-diet",
            "severity": "error",
            "human": "AP1 allowed values: ('DI001' | 'DI002' | 'DI003' | 'DI004' | 'DI005' | 'DI006' | 'DI007' | 'DI008')",
            "expression": "($this in ('DI001' | 'DI002' | 'DI003' | 'DI004' | 'DI005' | 'DI006' | 'DI007' | 'DI008'))"
          }
        ]
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding.display",
        "path": "CarePlan.activity.detail.code.coding.display",
        "short": "n/a",
        "definition": "Display value of the coding",
        "comment": "Sample Value : \"Limit sodium intake\"",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.coding.userSelected",
        "path": "CarePlan.activity.detail.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.code.text",
        "path": "CarePlan.activity.detail.code.text",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.reasonCode",
        "path": "CarePlan.activity.detail.reasonCode",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.reasonReference",
        "path": "CarePlan.activity.detail.reasonReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.goal",
        "path": "CarePlan.activity.detail.goal",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.status",
        "path": "CarePlan.activity.detail.status",
        "short": "n/a",
        "definition": "status of the activity",
        "comment": "Fixed Value: \"scheduled\"",
        "requirements": "n/a",
        "fixedCode": "scheduled",
        "isModifierReason": "n/a"
      },
      {
        "id": "CarePlan.activity:Diet.detail.statusReason",
        "path": "CarePlan.activity.detail.statusReason",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.doNotPerform",
        "path": "CarePlan.activity.detail.doNotPerform",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.scheduled[x]",
        "path": "CarePlan.activity.detail.scheduled[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.location",
        "path": "CarePlan.activity.detail.location",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.performer",
        "path": "CarePlan.activity.detail.performer",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.product[x]",
        "path": "CarePlan.activity.detail.product[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.dailyAmount",
        "path": "CarePlan.activity.detail.dailyAmount",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.quantity",
        "path": "CarePlan.activity.detail.quantity",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Diet.detail.description",
        "path": "CarePlan.activity.detail.description",
        "short": "n/a",
        "definition": "Extra info describing activity to perform",
        "comment": "n/a"
      },
      {
        "id": "CarePlan.activity:Vaccination",
        "path": "CarePlan.activity",
        "sliceName": "Vaccination",
        "short": "n/a",
        "definition": "Represent action plan in health plan Vaccination",
        "comment": "n/a",
        "requirements": "n/a",
        "max": "9"
      },
      {
        "id": "CarePlan.activity:Vaccination.id",
        "path": "CarePlan.activity.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.extension",
        "path": "CarePlan.activity.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.modifierExtension",
        "path": "CarePlan.activity.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept",
        "path": "CarePlan.activity.outcomeCodeableConcept",
        "short": "n/a",
        "definition": "Represent category of action plan",
        "comment": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.id",
        "path": "CarePlan.activity.outcomeCodeableConcept.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.extension",
        "path": "CarePlan.activity.outcomeCodeableConcept.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-action-plan-category"
        }
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding.id",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding.extension",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding.system",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.system",
        "short": "n/a",
        "definition": "The terminology system of the coding",
        "comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-action-plan-category\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-action-plan-category"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding.version",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding.code",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.code",
        "short": "n/a",
        "definition": "The code of the coding",
        "comment": "Sample Value : \"AP2\"",
        "requirements": "n/a",
        "min": 1,
        "fixedCode": "AP2"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding.display",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.display",
        "short": "n/a",
        "definition": "Display value of the coding",
        "comment": "Sample Value : \"Vaccination\"",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.coding.userSelected",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeCodeableConcept.text",
        "path": "CarePlan.activity.outcomeCodeableConcept.text",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.outcomeReference",
        "path": "CarePlan.activity.outcomeReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.progress",
        "path": "CarePlan.activity.progress",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.reference",
        "path": "CarePlan.activity.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail",
        "path": "CarePlan.activity.detail",
        "short": "n/a",
        "definition": "Grouping of detail",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.id",
        "path": "CarePlan.activity.detail.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.extension",
        "path": "CarePlan.activity.detail.extension",
        "short": "n/a",
        "definition": "Additional data element required by action plan ",
        "comment": "Applicable for vaccination, not applicable for diet. \r\n- Mandatory for vaccination - \"Influenza (INF)\" if scheduledTiming (repeat annually) is NOT submitted \r\n-Mandatory for the rest of the vaccinations if the vaccination activity is submitted. ",
        "max": "1"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.extension:vaccinationExtension",
        "path": "CarePlan.activity.detail.extension",
        "sliceName": "vaccinationExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/dueDate"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.extension:vaccinationExtension.extension",
        "path": "CarePlan.activity.detail.extension.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.extension:vaccinationExtension.value[x]",
        "path": "CarePlan.activity.detail.extension.value[x]",
        "short": "n/a",
        "definition": "n/a",
        "comment": "Sample Value: \"2025-1-1\""
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.modifierExtension",
        "path": "CarePlan.activity.detail.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.kind",
        "path": "CarePlan.activity.detail.kind",
        "short": "n/a",
        "definition": "Type of activity",
        "comment": "Fixed Value: \"ServiceRequest\"",
        "requirements": "n/a",
        "min": 1,
        "fixedCode": "ServiceRequest"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.instantiatesCanonical",
        "path": "CarePlan.activity.detail.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.instantiatesUri",
        "path": "CarePlan.activity.detail.instantiatesUri",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code",
        "path": "CarePlan.activity.detail.code",
        "short": "n/a",
        "definition": "Detail type of activity",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-action-plan-vaccination-item"
        }
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.id",
        "path": "CarePlan.activity.detail.code.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.extension",
        "path": "CarePlan.activity.detail.code.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding",
        "path": "CarePlan.activity.detail.code.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding.id",
        "path": "CarePlan.activity.detail.code.coding.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding.extension",
        "path": "CarePlan.activity.detail.code.coding.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding.system",
        "path": "CarePlan.activity.detail.code.coding.system",
        "short": "n/a",
        "definition": "The terminology system of the coding",
        "comment": "Sample Value : \"http://ihis.sg/ValueSet/hsg-action-plan-vaccination-item\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-action-plan-vaccination-item"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding.version",
        "path": "CarePlan.activity.detail.code.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding.code",
        "path": "CarePlan.activity.detail.code.coding.code",
        "short": "n/a",
        "definition": "The code of the coding",
        "comment": "Sample Value : \"A-Tdap\"",
        "requirements": "n/a",
        "min": 1,
        "constraint": [
          {
            "key": "healthplan-vaccination",
            "severity": "error",
            "human": "AP2 allowed values: ('A-INF' | 'A-PNC' | 'A-PPSV' | 'A-Tdap' | 'A-HEPB' | 'A-MMR' | 'A-CPOX' | 'A-PCV20' | 'A-HZVRC')",
            "expression": "($this in ('A-INF' | 'A-PNC' | 'A-PPSV' | 'A-Tdap' | 'A-HEPB' | 'A-MMR' | 'A-CPOX' | 'A-PCV20' | 'A-HZVRC'))"
          }
        ]
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding.display",
        "path": "CarePlan.activity.detail.code.coding.display",
        "short": "n/a",
        "definition": "Display value of the coding",
        "comment": "Sample Value : \"Tetanus, reduced diphtheria & acellular pertussis (Tdap)\"",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.coding.userSelected",
        "path": "CarePlan.activity.detail.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.code.text",
        "path": "CarePlan.activity.detail.code.text",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.reasonCode",
        "path": "CarePlan.activity.detail.reasonCode",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.reasonReference",
        "path": "CarePlan.activity.detail.reasonReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.goal",
        "path": "CarePlan.activity.detail.goal",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.status",
        "path": "CarePlan.activity.detail.status",
        "short": "n/a",
        "definition": "status of the activity",
        "comment": "Fixed Value: \"scheduled\"",
        "requirements": "n/a",
        "fixedCode": "scheduled",
        "isModifierReason": "n/a"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.statusReason",
        "path": "CarePlan.activity.detail.statusReason",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.doNotPerform",
        "path": "CarePlan.activity.detail.doNotPerform",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]",
        "path": "CarePlan.activity.detail.scheduled[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "n/a",
        "definition": "When the event occur",
        "comment": "Only applicable for \"Influenza (INF)\" under vaccination\nSample value \"1, 1, a\" means occur 1 time per year (repeat annually)\n'scheduledTiming' should not be submitted if it does not need to be repeated annually\n - Mandatory for \"Influenza (INF)\" if extension/dueDate (Suggested Next Dose Date) is NOT submitted ",
        "requirements": "n/a"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming",
        "path": "CarePlan.activity.detail.scheduled[x]",
        "sliceName": "scheduledTiming",
        "short": "n/a",
        "definition": "When the event occur",
        "comment": "Only applicable for \"Influenza (INF)\" under vaccination\nSample value \"1, 1, a\" means occur 1 time per year (repeat annually)\n'scheduledTiming' should not be submitted if it does not need to be repeated annually\n - Mandatory for \"Influenza (INF)\" if extension/dueDate (Suggested Next Dose Date) is NOT submitted ",
        "requirements": "n/a",
        "type": [
          {
            "code": "Timing"
          }
        ]
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.id",
        "path": "CarePlan.activity.detail.scheduled[x].id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.extension",
        "path": "CarePlan.activity.detail.scheduled[x].extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.modifierExtension",
        "path": "CarePlan.activity.detail.scheduled[x].modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.event",
        "path": "CarePlan.activity.detail.scheduled[x].event",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat",
        "path": "CarePlan.activity.detail.scheduled[x].repeat",
        "short": "n/a",
        "definition": "How the event repeat",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.id",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.id",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.extension",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.bounds[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.count",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.count",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.countMax",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.countMax",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.duration",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.duration",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.durationMax",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.durationMax",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.durationUnit",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.durationUnit",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.frequency",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.frequency",
        "short": "n/a",
        "definition": "Event occurs frequency times per period",
        "comment": "Sample Value : 1",
        "min": 1,
        "fixedPositiveInt": 1
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.frequencyMax",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.frequencyMax",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.period",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.period",
        "short": "n/a",
        "definition": "Number of period",
        "comment": "Sample Value : 1",
        "min": 1,
        "fixedDecimal": 1
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.periodMax",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.periodMax",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.periodUnit",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.periodUnit",
        "short": "n/a",
        "definition": "unit of period (a - annual)",
        "comment": "Sample Value : \"a\"",
        "min": 1,
        "fixedCode": "a"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.dayOfWeek",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.dayOfWeek",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.timeOfDay",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.timeOfDay",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.when",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.when",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.repeat.offset",
        "path": "CarePlan.activity.detail.scheduled[x].repeat.offset",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming.code",
        "path": "CarePlan.activity.detail.scheduled[x].code",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.location",
        "path": "CarePlan.activity.detail.location",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.performer",
        "path": "CarePlan.activity.detail.performer",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.product[x]",
        "path": "CarePlan.activity.detail.product[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.dailyAmount",
        "path": "CarePlan.activity.detail.dailyAmount",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.quantity",
        "path": "CarePlan.activity.detail.quantity",
        "max": "0"
      },
      {
        "id": "CarePlan.activity:Vaccination.detail.description",
        "path": "CarePlan.activity.detail.description",
        "short": "n/a",
        "definition": "Extra info describing activity to perform",
        "comment": "n/a"
      },
      {
        "id": "CarePlan.note",
        "path": "CarePlan.note",
        "short": "n/a",
        "definition": "To store the record of discussion for the health plan, or one thing to start working on today.",
        "comment": "n/a",
        "requirements": "n/a",
        "max": "2"
      },
      {
        "id": "CarePlan.note.id",
        "path": "CarePlan.note.id",
        "max": "0"
      },
      {
        "id": "CarePlan.note.extension",
        "path": "CarePlan.note.extension",
        "short": "n/a",
        "definition": "n/a",
        "comment": "n/a",
        "min": 1
      },
      {
        "id": "CarePlan.note.extension:noteExtension",
        "path": "CarePlan.note.extension",
        "sliceName": "noteExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/health-plan-note-type"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.note.extension:noteExtension.extension",
        "path": "CarePlan.note.extension.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.note.author[x]",
        "path": "CarePlan.note.author[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.note.time",
        "path": "CarePlan.note.time",
        "max": "0"
      },
      {
        "id": "CarePlan.note.text",
        "path": "CarePlan.note.text",
        "short": "n/a",
        "definition": "The annotation - text content (as markdown)",
        "comment": "Sample Value: \"Test note\", max 5000 characters allowed",
        "constraint": [
          {
            "key": "health-plan-note",
            "severity": "error",
            "human": "Value must be between 1 to 5000 characters",
            "expression": "$this.length() > 0 and $this.length() <= 5000"
          }
        ]
      },
      {
        "id": "CarePlan.condition",
        "path": "CarePlan.condition",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.condition.id",
        "path": "CarePlan.condition.id",
        "max": "0"
      },
      {
        "id": "CarePlan.condition.extension",
        "path": "CarePlan.condition.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.condition.reference",
        "path": "CarePlan.condition.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.condition.type",
        "path": "CarePlan.condition.type",
        "max": "0"
      },
      {
        "id": "CarePlan.condition.identifier",
        "path": "CarePlan.condition.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.condition.display",
        "path": "CarePlan.condition.display",
        "max": "0"
      }
    ]
  }
}