{
  "resourceType": "StructureDefinition",
  "id": "ncdhc-observation-spine",
  "url": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-spine",
  "version": "r1.0.0",
  "name": "NCDHCSpineTestObservationProfile",
  "title": "NCDHC Spine Test Observation",
  "status": "draft",
  "date": "2019-02-15",
  "publisher": "National Children's Digital Health Collaborative (NCDHC)",
  "description": "Outcome of physical examination of Spine",
  "purpose": "To record observations on Spine",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-base",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "NCDHC Limbs Test Observation Profile"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.\r\n\r\nCWG: Discussion on the Category to match it with Composition.type",
        "patternCodeableConcept": {
          "text": ""
        }
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.code.coding:SpineSNOMED-CT",
        "path": "Observation.code.coding",
        "sliceName": "SpineSNOMED-CT",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "170206007"
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "Reference to the Baby Patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-baby"
          }
        ]
      },
      {
        "id": "Observation.effectiveDateTime:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "short": "Date when Spine assessment was performed"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "mustSupport": false
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "short": "Normal | Review | Refer",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-observation-interpretation-1"
          }
        }
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "comment": "Additional comments"
      }
    ]
  }
}