PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar.hsg@5.0.0-v1
    http://ihis.sg/profile/G7
{
  "description": null,
  "_filename": "profile.HealthPlan.Goal.G7.json",
  "package_name": "synapxe.hsar.hsg",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.3.0",
  "name": "G7",
  "abstract": false,
  "type": "Goal",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "5.0.0-v1",
  "status": "active",
  "id": "8e8972f9-901e-4140-9596-95cbb8e73958",
  "kind": "resource",
  "url": "http://ihis.sg/profile/G7",
  "version": "5.0.0-v1",
  "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": "G7"
    }, {
      "id": "Goal.target",
      "path": "Goal.target",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "measure.coding.code",
          "type": "value"
        } ]
      }
    }, {
      "id": "Goal.target.extension",
      "max": "0",
      "path": "Goal.target.extension"
    }, {
      "id": "Goal.target.measure.id",
      "max": "0",
      "path": "Goal.target.measure.id"
    }, {
      "id": "Goal.target.measure.extension",
      "max": "0",
      "path": "Goal.target.measure.extension"
    }, {
      "id": "Goal.target.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "constraint": [ {
        "key": "healthplan-g7",
        "human": "If present, G7 goal measure allowed values are ACT001, ACT002, ACT003, OTH001",
        "severity": "error",
        "expression": "($this in ('ACT001' | 'ACT002' | 'ACT003' | 'OTH001'))"
      } ]
    }, {
      "id": "Goal.target:ACT001",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "ACT001"
    }, {
      "id": "Goal.target:ACT001.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:ACT001.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "ACT001"
    }, {
      "id": "Goal.target:ACT001.measure.text",
      "max": "0",
      "path": "Goal.target.measure.text"
    }, {
      "id": "Goal.target:ACT001.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:ACT002",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "ACT002"
    }, {
      "id": "Goal.target:ACT002.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:ACT002.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "ACT002"
    }, {
      "id": "Goal.target:ACT002.measure.text",
      "max": "0",
      "path": "Goal.target.measure.text"
    }, {
      "id": "Goal.target:ACT002.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:ACT003",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "ACT003"
    }, {
      "id": "Goal.target:ACT003.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:ACT003.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "ACT003"
    }, {
      "id": "Goal.target:ACT003.measure.text",
      "max": "0",
      "path": "Goal.target.measure.text"
    }, {
      "id": "Goal.target:ACT003.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    }, {
      "id": "Goal.target:OTH001",
      "max": "1",
      "path": "Goal.target",
      "sliceName": "OTH001"
    }, {
      "id": "Goal.target:OTH001.measure.coding",
      "max": "1",
      "path": "Goal.target.measure.coding",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
      }
    }, {
      "id": "Goal.target:OTH001.measure.coding.code",
      "path": "Goal.target.measure.coding.code",
      "fixedCode": "OTH001"
    }, {
      "id": "Goal.target:OTH001.measure.text",
      "min": 1,
      "path": "Goal.target.measure.text",
      "constraint": [ {
        "key": "healthplan-oth001-G7",
        "human": "Value must be between 1 to 500 characters",
        "severity": "error",
        "expression": "$this.length() > 0 and $this.length() <= 500"
      } ]
    }, {
      "id": "Goal.target:OTH001.detail[x]",
      "max": "0",
      "path": "Goal.target.detail[x]",
      "binding": {
        "strength": "required",
        "valueSet": "http://unitsofmeasure.org"
      }
    }, {
      "id": "Goal.target:OTH001.due[x]",
      "max": "0",
      "path": "Goal.target.due[x]",
      "type": [ {
        "code": "Duration"
      } ]
    } ]
  },
  "baseDefinition": "http://ihis.sg/StructureDefinition/put-health-plan-goal"
}