PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_ObservationFreeText
description: Observation profile for free-text record entries proposed via POST /Observation/$propose. Derives directly from the FHIR R4 base Observation (not from Mxx_HealthHub_Observation, which targets the read path for laboratory and vital-signs values and carries incompatible max:0 constraints on performer and derivedFrom). Supports text content via valueString, optional attachments via contained DocumentReference resources referenced from derivedFrom, and practitioner/organisation attribution via performer slices. A mandatory mxxPartnerReference extension (Mxx_HealthHub_PartnerReference) identifies the submitting partner system. The optional mxxRecordCategory extension steers the target category in the practice record; the optional mxxEntryCallUri extension carries a deep-link back to the originating partner application.
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_ObservationFreeText
type: Observation
elements:
  category: {short: Not used, index: 9}
  referenceRange: {short: Not used, index: 45}
  hasMember: {index: 46}
  derivedFrom:
    type: Reference
    short: Attachments (contained DocumentReference)
    refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
    index: 47
  interpretation: {short: Not used, index: 39}
  encounter: {index: 15}
  method: {short: Not used, index: 42}
  specimen: {index: 43}
  value:
    short: Free-text content (mandatory)
    choices: [valueString]
    index: 36
  valueString: {type: string, short: Free-text content (mandatory), choiceOf: value, index: 37}
  component: {index: 48}
  note: {short: Not used, index: 40}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        mxxRecordCategory:
          match: {url: null}
          schema: {type: Extension, short: Practice-specific record category, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RecordCategory', index: 1}
          min: 0
          max: 1
        mxxEntryCallUri:
          match: {url: null}
          schema: {type: Extension, short: Deep-link back to the partner system, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_EntryCallUri', index: 2}
          min: 0
          max: 1
        mxxPartnerReference:
          match: {url: null}
          schema: {type: Extension, short: Submitting partner system, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerReference', index: 3}
          min: 1
          max: 1
  status:
    short: preliminary (fixed)
    pattern: {type: Code, value: preliminary}
    index: 8
  effective:
    short: Not used
    choices: []
    index: 17
  code:
    short: 'Fixed marker: free-text record entry'
    index: 10
    elements:
      coding: {short: Not used, index: 11}
      text:
        short: Fixed sentinel text
        pattern: {type: String, value: Free-text record entry}
        index: 12
    required: [text]
  identifier: {index: 5}
  bodySite: {index: 41}
  focus: {index: 14}
  issued: {short: Creation timestamp (mandatory), index: 18}
  device: {index: 44}
  basedOn: {index: 6}
  partOf: {index: 7}
  subject:
    type: Reference
    short: Patient
    refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient']
    index: 13
  modifierExtension: {short: Not used, index: 4}
  performer:
    short: Practitioner, organisation and user (all mandatory)
    array: true
    min: 3
    max: 3
    index: 19
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: 3
      max: 3
      slices:
        practitioner:
          match: {type: Mxx_HealthHub_Practitioner}
          schema:
            short: Practitioner
            refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Practitioner']
            type: Reference
            _required: true
            index: 20
            elements:
              reference: {index: 21}
              type:
                pattern: {type: Uri, value: Mxx_HealthHub_Practitioner}
                index: 22
              identifier: {index: 23}
              display: {index: 24}
            required: [reference, type]
        organization:
          match: {type: Mxx_HealthHub_Organization}
          schema:
            short: Organisation
            refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Organization']
            type: Reference
            _required: true
            index: 25
            elements:
              reference: {index: 26}
              type:
                pattern: {type: Uri, value: Mxx_HealthHub_Organization}
                index: 27
              identifier: {index: 28}
              display: {index: 29}
            required: [reference, type]
        user:
          match: {type: Mxx_HealthHub_User}
          schema:
            short: User
            refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_User']
            type: Reference
            _required: true
            index: 30
            elements:
              reference: {index: 31}
              type:
                pattern: {type: Uri, value: Mxx_HealthHub_User}
                index: 32
              identifier: {index: 33}
              display: {index: 34}
            required: [reference, type]
  dataAbsentReason: {short: Not used, index: 38}
package_version: 1.5.0
extensions:
  mxxRecordCategory: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RecordCategory', min: 0, max: 1, type: Extension, short: Practice-specific record category, index: 1}
  mxxEntryCallUri: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_EntryCallUri', min: 0, max: 1, type: Extension, short: Deep-link back to the partner system, index: 2}
  mxxPartnerReference: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerReference', min: 1, max: 1, type: Extension, short: Submitting partner system, index: 3}
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_ObservationFreeText
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.5.0
required: [valueString, issued, value, subject, code]