FHIR IG analytics| Package | synapxe.hsar |
| Resource Type | StructureDefinition |
| Id | profile-HealthPlan-put-health-plan.json |
| FHIR Version | R4B |
| Source | https://simplifier.net/resolve?scope=synapxe.hsar@1.0.0&canonical=http://ihis.sg/StructureDefinition/CarePlan-pophealth-plan |
| URL | http://ihis.sg/StructureDefinition/CarePlan-pophealth-plan |
| Status | active |
| Name | profile-HealthPlan-put-health-plan |
| Type | CarePlan |
| Kind | resource |
No resources found
| StructureDefinition | |
| dueDate | extension-HealthPlan-dueDate |
| health-plan-note-type | extension-HealthPlan-healthplanNoteType |
| performer | extension-HealthPlan-performer |
| C1 | profile-Healthplan-c1PatientConditionTag |
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"url": "http://ihis.sg/StructureDefinition/CarePlan-pophealth-plan",
"name": "profile-HealthPlan-put-health-plan",
"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.id",
"path": "CarePlan.id",
"max": "0"
},
{
"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",
"min": 1
},
{
"id": "CarePlan.extension:performer",
"path": "CarePlan.extension",
"sliceName": "performer",
"min": 1,
"type": [
{
"code": "Extension",
"profile": [
"http://ihis.sg/extension/performer"
]
}
]
},
{
"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",
"fixedCode": "active"
},
{
"id": "CarePlan.intent",
"path": "CarePlan.intent",
"fixedCode": "plan"
},
{
"id": "CarePlan.category",
"path": "CarePlan.category",
"min": 1,
"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",
"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",
"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",
"min": 1
},
{
"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",
"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.reference",
"path": "CarePlan.subject.reference",
"max": "0"
},
{
"id": "CarePlan.subject.type",
"path": "CarePlan.subject.type",
"min": 1,
"fixedUri": "Patient"
},
{
"id": "CarePlan.subject.identifier",
"path": "CarePlan.subject.identifier",
"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",
"min": 1,
"fixedUri": "http://ihis.sg/identifier/nric"
},
{
"id": "CarePlan.subject.identifier.value",
"path": "CarePlan.subject.identifier.value",
"min": 1,
"constraint": [
{
"key": "healthplan-patient",
"severity": "error",
"human": "Patient identifier value should not be empty",
"expression": "$this.length() > 0"
}
]
},
{
"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",
"min": 1
},
{
"id": "CarePlan.period.id",
"path": "CarePlan.period.id",
"max": "0"
},
{
"id": "CarePlan.period.extension",
"path": "CarePlan.period.extension",
"max": "0"
},
{
"id": "CarePlan.created",
"path": "CarePlan.created",
"max": "0"
},
{
"id": "CarePlan.author",
"path": "CarePlan.author",
"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.reference",
"path": "CarePlan.author.reference",
"max": "0"
},
{
"id": "CarePlan.author.type",
"path": "CarePlan.author.type",
"min": 1,
"fixedUri": "Organization"
},
{
"id": "CarePlan.author.identifier",
"path": "CarePlan.author.identifier",
"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",
"min": 1,
"fixedUri": "http://ihis.sg/identifier/hci-code"
},
{
"id": "CarePlan.author.identifier.value",
"path": "CarePlan.author.identifier.value",
"min": 1,
"constraint": [
{
"key": "healthplan-organization",
"severity": "error",
"human": "Author identifier value should not be empty",
"expression": "$this.length() > 0"
}
]
},
{
"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.author.display",
"path": "CarePlan.author.display",
"max": "0"
},
{
"id": "CarePlan.contributor",
"path": "CarePlan.contributor",
"max": "0"
},
{
"id": "CarePlan.careTeam",
"path": "CarePlan.careTeam",
"max": "0"
},
{
"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.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"
}
},
{
"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",
"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",
"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",
"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",
"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",
"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",
"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": "Sample Value : \"recommended-next-check-in\"",
"min": 1
},
{
"id": "CarePlan.activity:recommended-next-check-in.detail.code.coding.display",
"path": "CarePlan.activity.detail.code.coding.display",
"short": "Sample Value : \"Recommended Next Check-in\""
},
{
"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": "status of the activity",
"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]",
"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": "Sample Value: \"2023-10\"",
"definition": "Identifies specific times when the event occurs. Format: YYYY-MM",
"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%]#x27;)"
}
]
},
{
"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",
"max": "7"
},
{
"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",
"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",
"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",
"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",
"min": 1,
"fixedCode": "AP1"
},
{
"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",
"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",
"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",
"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",
"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",
"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",
"min": 1,
"constraint": [
{
"key": "healthplan-diet",
"severity": "error",
"human": "AP1 allowed values",
"expression": "($this in ('DI001' | 'DI002' | 'DI003' | 'DI004' | 'DI005' | 'DI006' | 'DI007'))"
}
]
},
{
"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": "fixed 'scheduled'",
"fixedCode": "scheduled"
},
{
"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",
"max": "0"
},
{
"id": "CarePlan.activity:Vaccination",
"path": "CarePlan.activity",
"sliceName": "Vaccination",
"max": "8"
},
{
"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",
"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",
"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",
"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",
"min": 1,
"fixedCode": "AP2"
},
{
"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",
"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",
"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.modifierExtension",
"path": "CarePlan.activity.detail.modifierExtension",
"max": "0"
},
{
"id": "CarePlan.activity:Vaccination.detail.kind",
"path": "CarePlan.activity.detail.kind",
"short": "fixed 'ServiceRequest'",
"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",
"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",
"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",
"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",
"min": 1,
"constraint": [
{
"key": "healthplan-vaccination",
"severity": "error",
"human": "AP2 allowed values",
"expression": "($this in ('A-INF' | 'A-PNC' | 'A-PPSV' | 'A-Tdap' | 'A-HPV' | 'A-HEPB' | 'A-MMR' | 'A-CPOX'))"
}
]
},
{
"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": "fixed 'scheduled'",
"fixedCode": "scheduled"
},
{
"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"
}
},
{
"id": "CarePlan.activity:Vaccination.detail.scheduled[x]:scheduledTiming",
"path": "CarePlan.activity.detail.scheduled[x]",
"sliceName": "scheduledTiming",
"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",
"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",
"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",
"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": "fixed 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",
"max": "0"
},
{
"id": "CarePlan.note",
"path": "CarePlan.note",
"max": "2"
},
{
"id": "CarePlan.note.id",
"path": "CarePlan.note.id",
"max": "0"
},
{
"id": "CarePlan.note.extension",
"path": "CarePlan.note.extension",
"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.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",
"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": "1",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://ihis.sg/profile/C1"
],
"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"
}
]
}
}