PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.hackathons@1.0.0
    http://hl7.dk/fhir/hackathons/StructureDefinition/PhysicalActivityObservation
description: FUT like eHealth Observation for daily physical activity
package_name: hl7.fhir.dk.hackathons
derivation: constraint
name: PhysicalActivityObservation
type: Observation
elements:
  value[x]:
    elements:
      unit:
        pattern: {type: String, value: Minutes}
        index: 11
  valueQuantity: {type: Quantity, short: Minutes of activity, choiceOf: value, index: 10}
  value:
    short: Minutes of activity
    choices: [valueQuantity]
    index: 9
  component: {index: 12}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        workflow-episodeOfCare:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', index: 1}
          min: 1
          max: 1
  effective:
    choices: [effectivePeriod]
    index: 5
  code:
    binding: {strength: extensible, valueSet: 'http://hl7.dk/fhir/hackathons/ValueSet/ActivityCodes'}
    index: 2
  subject:
    type: Reference
    refers: ['http://hl7.dk/fhir/hackathons/StructureDefinition/TelemedicinePatient']
    index: 3
  performer:
    type: Reference
    refers: ['http://hl7.dk/fhir/hackathons/StructureDefinition/TelemedicinePatient']
    index: 7
  effectivePeriod: {type: Period, choiceOf: effective, index: 6}
package_version: 1.0.0
extensions:
  workflow-episodeOfCare: {url: 'http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare', min: 1, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://hl7.dk/fhir/hackathons/StructureDefinition/PhysicalActivityObservation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [effectivePeriod, extension, subject, effective, performer]