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

FHIR IG analytics

Packagesynapxe.hsar.hsg
Resource TypeStructureDefinition
Idprofile.HealthPlan.Goal.G5.json
FHIR VersionR4B

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "url": "http://ihis.sg/profile/G5",
  "version": "4.3.0-v3",
  "name": "G5",
  "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.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": "G5"
      },
      {
        "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",
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-goal-measure"
        }
      },
      {
        "id": "Goal.target.measure.coding.code",
        "path": "Goal.target.measure.coding.code",
        "fixedCode": "GM006"
      },
      {
        "id": "Goal.target.measure.text",
        "path": "Goal.target.measure.text",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]",
        "path": "Goal.target.detail[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "constraint": [
          {
            "key": "healthplan-gm006",
            "severity": "error",
            "human": "If present, GM006 goal value should be between 0.1 to 30.0 for mmol/L or 1 to 999 for mg/dL",
            "expression": "($this.code = 'mmol/L' and $this.value >= 0.1 and $this.value <= 30.0 ) or ($this.code = 'mg/dL' and $this.value >= 1 and $this.value <= 999 and $this.value.toString().matches('^[0-9]*$'))"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://unitsofmeasure.org"
        }
      },
      {
        "id": "Goal.target.detail[x].system",
        "path": "Goal.target.detail[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Goal.target.detail[x].code",
        "path": "Goal.target.detail[x].code",
        "min": 1,
        "constraint": [
          {
            "key": "healthplan-gm006-1",
            "severity": "error",
            "human": "If present, GM006 goal measure allowed values are mmol/L, mg/dL",
            "expression": "($this in ('mmol/L' | 'mg/dL'))"
          }
        ]
      },
      {
        "id": "Goal.target.due[x]",
        "path": "Goal.target.due[x]",
        "max": "0",
        "type": [
          {
            "code": "Duration"
          }
        ]
      }
    ]
  }
}