PackagesCanonicalsLogsProblems
    Packages
    PGO.02@1.02.1
    http://nictiz.nl/fhir/StructureDefinition/zib-VitalSigns
description: 'Copied FHIR Vital Signs Profile to remove .component.value quantity type constrain. More informatino can be found in the GForge ticket #13796.'
package_name: PGO.02
derivation: constraint
name: Vital Signs Profile
type: Observation
elements:
  category:
    constraint:
      vs-4: {human: 'Must have a category of ''vital-signs'' and a code system ''http://hl7.org/fhir/observation-category''', severity: error, expression: 'where(coding.system=''http://hl7.org/fhir/observation-category'' and coding.code=''vital-signs'').exists()'}
    mustSupport: true
    index: 1
  valueQuantity:
    short: Vital Sign Value recorded with UCUM
    type: Quantity
    mustSupport: true
    index: 6
    elements:
      value: {mustSupport: true, index: 7}
      unit: {mustSupport: true, index: 8}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 9
      code: {short: Coded responses from the common UCUM units for vital signs value set., mustSupport: true, index: 10}
    required: [value, unit, system, code]
  related:
    short: Used when reporting vital signs panel components
    mustSupport: true
    index: 12
    elements:
      type:
        pattern: {type: Code, value: has-member}
        mustSupport: true
        index: 13
      target:
        type: Reference
        mustSupport: true
        refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-VitalSigns']
        index: 14
    required: [type]
  component:
    constraint:
      vs-3: {human: If there is no a value a data absent reason must be present, severity: error, expression: value.exists() or dataAbsentReason.exists()}
    mustSupport: true
    index: 15
    elements:
      code: {mustSupport: true, index: 16}
      value:
        short: Vital Sign Value recorded with UCUM
        mustSupport: true
        choices: []
        index: 18
      dataAbsentReason: {mustSupport: true, index: 19}
  status: {mustSupport: true, index: 0}
  effective:
    constraint:
      vs-1: {human: Datetime must be at least to day., severity: error, expression: ($this as dateTime).toString().length() >= 8}
    short: Often just a dateTime for Vital Signs
    mustSupport: true
    choices: []
    index: 5
  code: {short: Coded Responses from Vital Signs Results, mustSupport: true, index: 2}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 3
  dataAbsentReason: {mustSupport: true, index: 11}
package_version: 1.02.1
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-VitalSigns
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '1.0'
required: [subject, category, effective]