PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar.hsg@4.3.0-v3
    http://ihis.sg/profile/G8
{
  "description": null,
  "_filename": "profile.HealthPlan.Goal.G8.json",
  "package_name": "synapxe.hsar.hsg",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.3.0",
  "name": "G8",
  "abstract": false,
  "type": "Goal",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "4.3.0-v3",
  "status": "active",
  "id": "2fee73af-5040-4917-bb5f-54ae6d5675ac",
  "kind": "resource",
  "url": "http://ihis.sg/profile/G8",
  "version": "4.3.0-v3",
  "differential": {
    "element": [ {
      "id": "Goal.lifecycleStatus",
      "path": "Goal.lifecycleStatus",
      "fixedCode": "active"
    }, {
      "id": "Goal.description.coding",
      "max": "1",
      "path": "Goal.description.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-health-goal"
      }
    }, {
      "id": "Goal.description.coding.code",
      "path": "Goal.description.coding.code",
      "fixedCode": "G8"
    }, {
      "id": "Goal.target",
      "path": "Goal.target",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "measure.coding.code",
          "type": "value"
        } ]
      }
    }, {
      "id": "Goal.target.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding"
    }, {
      "id": "Goal.target.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "constraint": [ {
        "key": "healthplan-g8",
        "human": "If present, G8 goal measure allowed values are GM007, GM011, GM012, GM013, GM014, GM015",
        "severity": "error",
        "expression": "($this in ('GM007' | 'GM011' | 'GM012' | 'GM013' | 'GM014' | 'GM015'))"
      } ]
    }, {
      "id": "Goal.target.detail[x]",
      "path": "Goal.target.detail[x]",
      "binding": {
        "strength": "required",
        "valueSet": "http://unitsofmeasure.org"
      }
    }, {
      "id": "Goal.target:GM007",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "GM007"
    }, {
      "id": "Goal.target:GM007.extension",
      "max": "0",
      "path": "Goal.target.extension"
    }, {
      "id": "Goal.target:GM007.measure.id",
      "max": "0",
      "path": "Goal.target.measure.id"
    }, {
      "id": "Goal.target:GM007.measure.extension",
      "max": "0",
      "path": "Goal.target.measure.extension"
    }, {
      "id": "Goal.target:GM007.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:GM007.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "GM007"
    }, {
      "id": "Goal.target:GM007.measure.text",
      "path": "Goal.target.measure.text",
      "constraint": [ {
        "key": "healthplan-gm007",
        "human": "Value must be between 1 to 500 characters",
        "severity": "error",
        "expression": "$this.length() > 0 and $this.length() <= 500"
      } ]
    }, {
      "id": "Goal.target:GM007.detail[x]",
      "min": 1,
      "path": "Goal.target.detail[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://unitsofmeasure.org"
      }
    }, {
      "id": "Goal.target:GM007.detail[x].value",
      "min": 1,
      "path": "Goal.target.detail[x].value",
      "constraint": [ {
        "key": "healthplan-gm007-1",
        "human": "Valid numeric value required",
        "severity": "error",
        "expression": "$this.toString().matches('^[0-9]*$')"
      } ],
      "maxValueDecimal": 7.0,
      "minValueDecimal": 1.0
    }, {
      "id": "Goal.target:GM007.detail[x].system",
      "min": 1,
      "path": "Goal.target.detail[x].system",
      "fixedUri": "http://unitsofmeasure.org"
    }, {
      "id": "Goal.target:GM007.detail[x].code",
      "min": 1,
      "path": "Goal.target.detail[x].code",
      "fixedCode": "wk"
    }, {
      "id": "Goal.target:GM007.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:GM011",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "GM011"
    }, {
      "id": "Goal.target:GM011.extension",
      "max": "0",
      "path": "Goal.target.extension"
    }, {
      "id": "Goal.target:GM011.measure.id",
      "max": "0",
      "path": "Goal.target.measure.id"
    }, {
      "id": "Goal.target:GM011.measure.extension",
      "max": "0",
      "path": "Goal.target.measure.extension"
    }, {
      "id": "Goal.target:GM011.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:GM011.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "GM011"
    }, {
      "id": "Goal.target:GM011.measure.text",
      "path": "Goal.target.measure.text",
      "constraint": [ {
        "key": "healthplan-gm011",
        "human": "Value must be between 1 to 500 characters",
        "severity": "error",
        "expression": "$this.length() > 0 and $this.length() <= 500"
      } ]
    }, {
      "id": "Goal.target:GM011.detail[x]",
      "min": 1,
      "path": "Goal.target.detail[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://unitsofmeasure.org"
      }
    }, {
      "id": "Goal.target:GM011.detail[x].value",
      "min": 1,
      "path": "Goal.target.detail[x].value",
      "constraint": [ {
        "key": "healthplan-gm011-1",
        "human": "Valid numeric value required",
        "severity": "error",
        "expression": "$this.toString().matches('^[0-9]*$')"
      } ],
      "maxValueDecimal": 99999.0,
      "minValueDecimal": 1.0
    }, {
      "id": "Goal.target:GM011.detail[x].system",
      "min": 1,
      "path": "Goal.target.detail[x].system",
      "fixedUri": "http://unitsofmeasure.org"
    }, {
      "id": "Goal.target:GM011.detail[x].code",
      "min": 1,
      "path": "Goal.target.detail[x].code",
      "fixedCode": "{steps}/d"
    }, {
      "id": "Goal.target:GM011.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:GM012",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "GM012"
    }, {
      "id": "Goal.target:GM012.extension",
      "min": 1,
      "path": "Goal.target.extension"
    }, {
      "id": "Goal.target:GM012.extension:exerciseIntensity",
      "path": "Goal.target.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ihis.sg/extension/exercise-intensity" ]
      } ],
      "sliceName": "exerciseIntensity"
    }, {
      "id": "Goal.target:GM012.measure.id",
      "max": "0",
      "path": "Goal.target.measure.id"
    }, {
      "id": "Goal.target:GM012.measure.extension",
      "max": "0",
      "path": "Goal.target.measure.extension"
    }, {
      "id": "Goal.target:GM012.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:GM012.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "GM012"
    }, {
      "id": "Goal.target:GM012.measure.text",
      "path": "Goal.target.measure.text",
      "constraint": [ {
        "key": "healthplan-gm012",
        "human": "Value must be between 1 to 500 characters",
        "severity": "error",
        "expression": "$this.length() > 0 and $this.length() <= 500"
      } ]
    }, {
      "id": "Goal.target:GM012.detail[x]",
      "min": 1,
      "path": "Goal.target.detail[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://unitsofmeasure.org"
      }
    }, {
      "id": "Goal.target:GM012.detail[x].value",
      "min": 1,
      "path": "Goal.target.detail[x].value",
      "constraint": [ {
        "key": "healthplan-gm012-1",
        "human": "Valid numeric value required",
        "severity": "error",
        "expression": "$this.toString().matches('^[0-9]*$')"
      } ],
      "maxValueDecimal": 999.0,
      "minValueDecimal": 1.0
    }, {
      "id": "Goal.target:GM012.detail[x].system",
      "min": 1,
      "path": "Goal.target.detail[x].system",
      "fixedUri": "http://unitsofmeasure.org"
    }, {
      "id": "Goal.target:GM012.detail[x].code",
      "min": 1,
      "path": "Goal.target.detail[x].code",
      "fixedCode": "min"
    }, {
      "id": "Goal.target:GM012.due[x]",
      "min": 1,
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:GM012.due[x].value",
      "min": 1,
      "path": "Goal.target.due[x].value",
      "constraint": [ {
        "key": "healthplan-gm012-2",
        "human": "Valid numeric value required",
        "severity": "error",
        "expression": "$this.toString().matches('^[0-9]*$')"
      } ],
      "maxValueDecimal": 7.0,
      "minValueDecimal": 1.0
    }, {
      "id": "Goal.target:GM012.due[x].system",
      "min": 1,
      "path": "Goal.target.due[x].system",
      "fixedUri": "http://unitsofmeasure.org"
    }, {
      "id": "Goal.target:GM012.due[x].code",
      "min": 1,
      "path": "Goal.target.due[x].code",
      "fixedCode": "{days}/wk"
    }, {
      "id": "Goal.target:GM013",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "GM013"
    }, {
      "id": "Goal.target:GM013.extension",
      "max": "0",
      "path": "Goal.target.extension"
    }, {
      "id": "Goal.target:GM013.measure.id",
      "max": "0",
      "path": "Goal.target.measure.id"
    }, {
      "id": "Goal.target:GM013.measure.extension",
      "max": "0",
      "path": "Goal.target.measure.extension"
    }, {
      "id": "Goal.target:GM013.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:GM013.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "GM013"
    }, {
      "id": "Goal.target:GM013.measure.text",
      "path": "Goal.target.measure.text",
      "constraint": [ {
        "key": "healthplan-gm013",
        "human": "Value must be between 1 to 500 characters",
        "severity": "error",
        "expression": "$this.length() > 0 and $this.length() <= 500"
      } ]
    }, {
      "id": "Goal.target:GM013.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:GM014",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "GM014"
    }, {
      "id": "Goal.target:GM014.extension",
      "max": "0",
      "path": "Goal.target.extension"
    }, {
      "id": "Goal.target:GM014.measure.id",
      "max": "0",
      "path": "Goal.target.measure.id"
    }, {
      "id": "Goal.target:GM014.measure.extension",
      "max": "0",
      "path": "Goal.target.measure.extension"
    }, {
      "id": "Goal.target:GM014.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:GM014.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "GM014"
    }, {
      "id": "Goal.target:GM014.measure.text",
      "path": "Goal.target.measure.text",
      "constraint": [ {
        "key": "healthplan-gm014",
        "human": "Value must be between 1 to 500 characters",
        "severity": "error",
        "expression": "$this.length() > 0 and $this.length() <= 500"
      } ]
    }, {
      "id": "Goal.target:GM014.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:GM015",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "GM015"
    }, {
      "id": "Goal.target:GM015.extension",
      "max": "0",
      "path": "Goal.target.extension"
    }, {
      "id": "Goal.target:GM015.measure.id",
      "max": "0",
      "path": "Goal.target.measure.id"
    }, {
      "id": "Goal.target:GM015.measure.extension",
      "max": "0",
      "path": "Goal.target.measure.extension"
    }, {
      "id": "Goal.target:GM015.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:GM015.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "GM015"
    }, {
      "id": "Goal.target:GM015.measure.text",
      "path": "Goal.target.measure.text",
      "constraint": [ {
        "key": "healthplan-gm015",
        "human": "Value must be between 1 to 500 characters",
        "severity": "error",
        "expression": "$this.length() > 0 and $this.length() <= 500"
      } ]
    }, {
      "id": "Goal.target:GM015.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    } ]
  },
  "baseDefinition": "http://ihis.sg/StructureDefinition/put-health-plan-goal"
}