PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r3.examples@3.0.2
    http://hl7.org/fhir/StructureDefinition/vitalsigns
description: FHIR Vital Signs Profile
package_name: hl7.fhir.r3.examples
derivation: constraint
name: Vital Signs Profile
type: Observation
elements:
  category:
    type: CodeableConcept
    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
    array: true
    min: 1
    index: 1
  valueQuantity:
    short: Vital Sign Value recorded with UCUM
    type: Quantity
    mustSupport: true
    index: 8
    elements:
      value: {type: decimal, mustSupport: true, index: 9}
      unit: {type: string, mustSupport: true, index: 10}
      system:
        type: uri
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 11
      code: {type: code, short: Coded responses from the common UCUM units for vital signs value set., mustSupport: true, index: 12}
    required: [value, unit, system, code]
  related:
    short: Used when reporting vital signs panel components
    mustSupport: true
    index: 14
    elements:
      type:
        type: code
        pattern: {type: Code, value: has-member}
        mustSupport: true
        index: 15
      target:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/StructureDefinition/vitalsigns']
        index: 16
    required: [type, target]
  component:
    short: Used when reporting systolic and diastolic blood pressure.
    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: 17
    elements:
      code: {type: CodeableConcept, mustSupport: true, index: 18}
      valueQuantity:
        short: Vital Sign Value recorded with UCUM
        type: Quantity
        mustSupport: true
        index: 19
        elements:
          value: {type: decimal, mustSupport: true, index: 20}
          unit: {type: string, mustSupport: true, index: 21}
          system:
            type: uri
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            mustSupport: true
            index: 22
          code: {type: code, short: Coded responses from the common UCUM units for vital signs value set., mustSupport: true, index: 23}
        required: [value, unit, system, code]
      dataAbsentReason: {type: CodeableConcept, mustSupport: true, index: 24}
    required: [code]
  effectiveDateTime:
    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
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 6
  status: {type: code, 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: [effectiveDateTime, effectivePeriod]
    index: 5
  code: {short: Coded Responses from C-CDA Vital Sign Results, type: CodeableConcept, mustSupport: true, index: 2}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 3
  dataAbsentReason: {type: CodeableConcept, mustSupport: true, index: 13}
  effectivePeriod:
    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
    type: Period
    mustSupport: true
    choiceOf: effective
    index: 7
package_version: 3.0.2
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/vitalsigns
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null
required: [effectiveDateTime, effectivePeriod, status, subject, category, code, effective]