FHIR IG analytics| Package | synapxe.hsar.hsg |
| Resource Type | StructureDefinition |
| Id | profile.HealthPlan.Goal.G4.json |
| FHIR Version | R4B |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"url": "http://ihis.sg/profile/G4",
"version": "4.3.0-v3",
"name": "G4",
"status": "active",
"fhirVersion": "4.3.0",
"kind": "resource",
"abstract": false,
"type": "Goal",
"baseDefinition": "http://ihis.sg/StructureDefinition/put-health-plan-goal",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Goal",
"path": "Goal",
"constraint": [
{
"key": "goal-gm005-requires-gm004",
"severity": "error",
"human": "If GM005 submitted, then GM004 must also be submitted.",
"expression": "target.where(measure.coding.where(code='GM005')).empty() or target.where(measure.coding.where(code='GM004')).exists()"
}
]
},
{
"id": "Goal.lifecycleStatus",
"path": "Goal.lifecycleStatus",
"fixedCode": "active"
},
{
"id": "Goal.description.coding",
"path": "Goal.description.coding",
"max": "1",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-health-goal"
}
},
{
"id": "Goal.description.coding.code",
"path": "Goal.description.coding.code",
"fixedCode": "G4"
},
{
"id": "Goal.target",
"path": "Goal.target",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "measure.coding.code"
}
],
"rules": "open"
}
},
{
"id": "Goal.target.extension",
"path": "Goal.target.extension",
"max": "0"
},
{
"id": "Goal.target.measure.id",
"path": "Goal.target.measure.id",
"max": "0"
},
{
"id": "Goal.target.measure.extension",
"path": "Goal.target.measure.extension",
"max": "0"
},
{
"id": "Goal.target.measure.coding",
"path": "Goal.target.measure.coding",
"max": "1"
},
{
"id": "Goal.target.measure.coding.code",
"path": "Goal.target.measure.coding.code",
"constraint": [
{
"key": "healthplan-g4",
"severity": "error",
"human": "If present, G4 goal measure allowed values are GM004, GM005",
"expression": "($this in ('GM004' | 'GM005'))"
}
]
},
{
"id": "Goal.target.detail[x]",
"path": "Goal.target.detail[x]",
"binding": {
"strength": "required",
"valueSet": "http://unitsofmeasure.org"
}
},
{
"id": "Goal.target:GM004",
"path": "Goal.target",
"sliceName": "GM004",
"max": "1"
},
{
"id": "Goal.target:GM004.measure.coding",
"path": "Goal.target.measure.coding",
"max": "1",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
}
},
{
"id": "Goal.target:GM004.measure.coding.code",
"path": "Goal.target.measure.coding.code",
"fixedCode": "GM004"
},
{
"id": "Goal.target:GM004.measure.text",
"path": "Goal.target.measure.text",
"max": "0"
},
{
"id": "Goal.target:GM004.detail[x]",
"path": "Goal.target.detail[x]",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "$this"
}
],
"ordered": false,
"rules": "open"
},
"min": 1,
"type": [
{
"code": "Ratio"
}
]
},
{
"id": "Goal.target:GM004.detail[x].numerator",
"path": "Goal.target.detail[x].numerator",
"min": 1,
"binding": {
"strength": "required",
"valueSet": "http://unitsofmeasure.org"
}
},
{
"id": "Goal.target:GM004.detail[x].numerator.value",
"path": "Goal.target.detail[x].numerator.value",
"min": 1,
"minValueDecimal": 30,
"maxValueDecimal": 300,
"constraint": [
{
"key": "healthplan-gm004",
"severity": "error",
"human": "Valid numeric value required",
"expression": "$this.toString().matches('^[0-9]*$')"
}
]
},
{
"id": "Goal.target:GM004.detail[x].numerator.system",
"path": "Goal.target.detail[x].numerator.system",
"min": 1,
"fixedUri": "http://unitsofmeasure.org"
},
{
"id": "Goal.target:GM004.detail[x].numerator.code",
"path": "Goal.target.detail[x].numerator.code",
"min": 1,
"fixedCode": "mm[Hg]"
},
{
"id": "Goal.target:GM004.detail[x].denominator",
"path": "Goal.target.detail[x].denominator",
"min": 1,
"binding": {
"strength": "required",
"valueSet": "http://unitsofmeasure.org"
}
},
{
"id": "Goal.target:GM004.detail[x].denominator.value",
"path": "Goal.target.detail[x].denominator.value",
"min": 1,
"minValueDecimal": 20,
"maxValueDecimal": 200,
"constraint": [
{
"key": "healthplan-gm004-1",
"severity": "error",
"human": "Valid numeric value required",
"expression": "$this.toString().matches('^[0-9]*$')"
}
]
},
{
"id": "Goal.target:GM004.detail[x].denominator.system",
"path": "Goal.target.detail[x].denominator.system",
"min": 1,
"fixedUri": "http://unitsofmeasure.org"
},
{
"id": "Goal.target:GM004.detail[x].denominator.code",
"path": "Goal.target.detail[x].denominator.code",
"min": 1,
"fixedCode": "mm[Hg]"
},
{
"id": "Goal.target:GM004.due[x]",
"path": "Goal.target.due[x]",
"max": "0",
"type": [
{
"code": "Duration"
}
]
},
{
"id": "Goal.target:GM005",
"path": "Goal.target",
"sliceName": "GM005",
"max": "1"
},
{
"id": "Goal.target:GM005.measure.coding",
"path": "Goal.target.measure.coding",
"max": "1",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
}
},
{
"id": "Goal.target:GM005.measure.coding.code",
"path": "Goal.target.measure.coding.code",
"fixedCode": "GM005"
},
{
"id": "Goal.target:GM005.measure.text",
"path": "Goal.target.measure.text",
"max": "0"
},
{
"id": "Goal.target:GM005.detail[x]",
"path": "Goal.target.detail[x]",
"min": 1,
"type": [
{
"code": "Quantity"
}
],
"binding": {
"strength": "required",
"valueSet": "http://unitsofmeasure.org"
}
},
{
"id": "Goal.target:GM005.detail[x].value",
"path": "Goal.target.detail[x].value",
"min": 1,
"minValueDecimal": 1,
"maxValueDecimal": 99,
"constraint": [
{
"key": "healthplan-gm005",
"severity": "error",
"human": "Valid numeric value required",
"expression": "$this.toString().matches('^[0-9]*$')"
}
]
},
{
"id": "Goal.target:GM005.detail[x].system",
"path": "Goal.target.detail[x].system",
"min": 1,
"fixedUri": "http://unitsofmeasure.org"
},
{
"id": "Goal.target:GM005.detail[x].code",
"path": "Goal.target.detail[x].code",
"min": 1,
"constraint": [
{
"key": "healthplan-gm005-1",
"severity": "error",
"human": "If present, GM005 goal measure allowed values are d, wk, mo",
"expression": "($this in ('d' | 'wk' | 'mo'))"
}
]
},
{
"id": "Goal.target:GM005.due[x]",
"path": "Goal.target.due[x]",
"max": "0",
"type": [
{
"code": "Duration"
}
]
}
]
}
}