{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2019-02-25T10:12:55.5495086+00:00"
  },
  "url": "http://medico-emr.net/stu3/sd/Observation-WardLab-1",
  "version": "1.0.0",
  "name": "Observation-WardLab-1",
  "status": "active",
  "date": "2019-02-25T10:12:55.4462227+00:00",
  "description": "An instance of this profile represents a lab value that was measured on a ward, e.g. a glucose value with a stick.\r\nOther that instances of Observation_CentralLab-# these instances can later be changed by the user.\r\nIt is the result from a WardLab, values can be changed by user the WardLab result is specified by following condition: x1350dme.doctyp == 'LABORSTAT'",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://medico-emr.net/stu3/sd/Observation-Base-1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "definition": "represents a result from a WardLab, values can be changed by user\r\nthe WardLab result is specified by following condition: x1350dme.doctyp == 'LABORSTAT'"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "definition": "LabResult_Ward-########"
      },
      {
        "id": "Observation.meta.lastUpdated",
        "path": "Observation.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "fixedUri": "http://medico-emr.net/stu3/sd/Observation-WardLab-1"
      },
      {
        "id": "Observation.extension",
        "path": "Observation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.extension:LabGroups",
        "path": "Observation.extension",
        "sliceName": "LabGroups",
        "type": [
          {
            "code": "Extension",
            "profile": "http://medico-emr.net/stu3/sd/MXT-Observation-LabGroups-1"
          }
        ]
      },
      {
        "id": "Observation.extension:LabStringUnit",
        "path": "Observation.extension",
        "sliceName": "LabStringUnit",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": "http://medico-emr.net/stu3/sd/MXT-Observation-LabStringUnit-1"
          }
        ]
      },
      {
        "id": "Observation.identifier:medicoResourceId",
        "path": "Observation.identifier",
        "sliceName": "medicoResourceId",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.identifier:medicoResourceId.system",
        "path": "Observation.identifier.system",
        "definition": "Must be a constant underneath http://medico-emr.net/%KUNDE%/sid1/LabResult_Ward",
        "comment": "Dynamically resolved for validation\r\n--FixedValue=http://medico-emr.net/%KUNDE%/sid1/LabResult_Ward"
      },
      {
        "id": "Observation.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
            "valueString": "default: final"
          }
        ],
        "path": "Observation.status",
        "short": "final | cancelled"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://medico-emr.net/cs1/"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "Cat_LabItemWard-1"
      },
      {
        "id": "Observation.category.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.category.text",
        "max": "0"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ObservationCode"
            }
          ],
          "strength": "preferred",
          "valueSetReference": {
            "reference": "http://medico-emr.net/%KUNDE%/vs/Observation-WardLab-LabMetaItem-1"
          }
        }
      },
      {
        "id": "Observation.code.id",
        "path": "Observation.code.id",
        "max": "0"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding.id",
        "path": "Observation.code.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "definition": "http://medico-emr.net/%KUNDE%/cs/WardLab",
        "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier\r\nDynamically resolved for validation\r\n--FixedValue=http://medico-emr.net/%KUNDE%/cs/WardLab",
        "min": 1
      },
      {
        "id": "Observation.code.coding.version",
        "path": "Observation.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.coding.display",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.userSelected",
        "path": "Observation.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.text",
        "max": "0"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "max": "1"
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "max": "1"
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://medico-emr.net/stu3/sd/Reference-medicoEmployeeResourceReference-1",
            "targetProfile": "http://medico-emr.net/stu3/sd/Practitioner-Employee-1"
          }
        ]
      },
      {
        "id": "Observation.performer.identifier:medicoResourceId",
        "path": "Observation.performer.identifier",
        "sliceName": "medicoResourceId"
      },
      {
        "id": "Observation.performer.identifier:medicoResourceId.system",
        "path": "Observation.performer.identifier.system",
        "comment": "Dynamically resolved for validation\r\n--FixedValue=http://medico-emr.net/%KUNDE%/sid1/Employee"
      },
      {
        "id": "Observation.value[x]:valueString",
        "path": "Observation.valueString",
        "sliceName": "valueString",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueString.id",
        "path": "Observation.valueString.id",
        "max": "0"
      },
      {
        "id": "Observation.interpretation.id",
        "path": "Observation.interpretation.id",
        "max": "0"
      },
      {
        "id": "Observation.interpretation.coding.id",
        "path": "Observation.interpretation.coding.id",
        "max": "0"
      },
      {
        "id": "Observation.interpretation.coding.system",
        "path": "Observation.interpretation.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/ValueSet/observation-interpretation"
      },
      {
        "id": "Observation.interpretation.coding.version",
        "path": "Observation.interpretation.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.interpretation.coding.code",
        "path": "Observation.interpretation.coding.code",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\r\n\r\nN     = Normal\r\nH     = High\r\nHU   = Very High\r\nL      = Low\r\nLU   = Very Low",
        "min": 1
      },
      {
        "id": "Observation.interpretation.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.interpretation.coding.display",
        "max": "0"
      },
      {
        "id": "Observation.interpretation.coding.userSelected",
        "path": "Observation.interpretation.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.interpretation.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.interpretation.text",
        "definition": "Text from LabSystem."
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "definition": "comment on lab result (hint x1583rpt)"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.id",
        "path": "Observation.referenceRange.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.low.id",
        "path": "Observation.referenceRange.low.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.low.value",
        "path": "Observation.referenceRange.low.value",
        "min": 1
      },
      {
        "id": "Observation.referenceRange.high.id",
        "path": "Observation.referenceRange.high.id",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.high.value",
        "path": "Observation.referenceRange.high.value",
        "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.\r\nx1580rps.rpsrange",
        "min": 1
      },
      {
        "id": "Observation.referenceRange.type",
        "path": "Observation.referenceRange.type",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.appliesTo",
        "path": "Observation.referenceRange.appliesTo",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.age",
        "path": "Observation.referenceRange.age",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange.text",
        "path": "Observation.referenceRange.text",
        "max": "0"
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      }
    ]
  }
}