{
  "resourceType": "StructureDefinition",
  "id": "ncdhc-observation-urinalysis-protein",
  "url": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-urinalysis-protein",
  "version": "dv0.0.1",
  "name": "NCDHCUrinalysisObservationProfile",
  "title": "NCDHC Urinalysis Observation",
  "status": "draft",
  "date": "2019-06-21",
  "publisher": "National Children's Digital Health Collaborative (NCDHC)",
  "description": "Urine dipstick screening for Leukocytes, nitrite, urobilinogen, protein, pH, blood, specific gravity, ketones, glucose, bilirubin",
  "purpose": "To record Urinalysis result",
  "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 Urinalysis (Protein / Glucose) Observation Profile"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Urinalysis (Protein / Glucose)",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        }
      },
      {
        "id": "Observation.code.coding:Urinalysis-SNOMED-CT",
        "path": "Observation.code.coding",
        "sliceName": "Urinalysis-SNOMED-CT",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "27171005"
        }
      },
      {
        "id": "Observation.code.coding:Urinalysis-SNOMED-CT.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "Reference to the Mother Patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-expectant-mother"
          }
        ]
      },
      {
        "id": "Observation.effectiveDateTime:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "short": "Date when urinalysis proteinwas assessed"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "short": "Person who is clinically responsible for the undetaking of the assessment"
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "Urinalysis assessment completion status",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-observation-completion-status-1"
          }
        }
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "short": "Normal | Abnormal etc",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-urinalysis-interpretation-1"
          }
        }
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "mustSupport": true
      }
    ]
  }
}