{
  "resourceType": "StructureDefinition",
  "id": "ncdhc-observation-birth-head-circumference",
  "url": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-birth-head-circumference",
  "version": "r1.0.0",
  "name": "NCDHCBirthHeadCircumferenceObservationProfile",
  "title": "NCDHC Birth Head Circumference",
  "status": "draft",
  "date": "2018-12-21",
  "publisher": "National Children's Digital Health Collaborative (NCDHC)",
  "description": "Represents value for head circumference of baby recorded at birth",
  "purpose": "Numeric value for head circumference",
  "copyright": "Copyright © 2019 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/",
  "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 Birth Head Circumference Observation Profile",
        "definition": "Represents value for head circumference of baby recorded at birth"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "patternCodeableConcept": {
          "text": ""
        }
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://hl7.org/fhir/observation-category"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "vital-signs"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Code to represent Birth head circumference",
        "mustSupport": true,
        "binding": {
          "strength": "preferred"
        }
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "max": "1"
      },
      {
        "id": "Observation.code.coding:birthHeadCircumferenceSNOMED-CT",
        "path": "Observation.code.coding",
        "sliceName": "birthHeadCircumferenceSNOMED-CT",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "169876006"
        }
      },
      {
        "id": "Observation.code.coding:birthHeadCircumferenceSNOMED-CT.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding:birthHeadCircumferenceSNOMED-CT.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "169876006"
      },
      {
        "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 Head Circumference was assessed",
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.valueQuantity",
        "sliceName": "valueQuantity",
        "short": "Vital Sign Value recorded with UCUM",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
          }
        }
      },
      {
        "id": "Observation.value[x]:valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueQuantity.system",
        "path": "Observation.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.value[x]:valueQuantity.code",
        "path": "Observation.valueQuantity.code",
        "binding": {
          "strength": "required",
          "description": "Coded responses from the common UCUM units for vital signs value set.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/ucum-bodylength"
        }
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "short": "System represents the user provided 'days' in weeks and days",
        "comment": "The server may represent the input Quantity into weeks and days"
      }
    ]
  }
}