PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/pregnancy-status
description: This profile constrains the Observation resource to represent the pregnancy status.
package_name: de.gecco
derivation: constraint
name: PregnancyStatus
type: Observation
elements:
  referenceRange: {mustSupport: false, index: 25}
  hasMember:
    type: Reference
    short: Expected Delivery Date
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-edd-uv-ips']
    index: 26
    elements:
      reference: {index: 27}
    required: [reference]
  specimen: {mustSupport: false, index: 23}
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 12
  component: {mustSupport: false, index: 28}
  effective[x]:
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, short: 'effective[x] absence reason', mustSupport: true, index: 10}
    elements:
      extension:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            dataAbsentReason:
              match: {url: null}
              schema: {type: Extension, short: 'effective[x] absence reason', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 10}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 8}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 7
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 82810-3, system: 'http://loinc.org'}
    index: 0
    elements:
      coding:
        index: 1
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 2
          code:
            pattern: {type: Code, value: 82810-3}
            index: 3
        required: [system, code]
    required: [coding]
  valueCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: value
    index: 13
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            type: CodeableConcept
            binding: {strength: required, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/pregnancy-status'}
            mustSupport: true
            index: 14
            elements:
              coding:
                mustSupport: true
                index: 15
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: pattern}
                  min: 1
                  slices:
                    valueLoinc:
                      match: {system: 'http://loinc.org'}
                      schema:
                        mustSupport: true
                        pattern:
                          type: Coding
                          value: {system: 'http://loinc.org'}
                        _required: true
                        index: 16
                        elements:
                          system: {index: 17}
                          code: {index: 18}
                        required: [system, code]
                    valueSnomed:
                      match: {system: 'http://snomed.info/sct'}
                      schema:
                        pattern:
                          type: Coding
                          value: {system: 'http://snomed.info/sct'}
                        index: 19
                        elements:
                          system: {index: 20}
                          code: {index: 21}
                        required: [system, code]
            required: [coding]
  bodySite: {mustSupport: false, index: 22}
  device: {mustSupport: false, index: 24}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 4
    elements:
      reference: {mustSupport: true, index: 5}
    required: [reference]
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/pregnancy-status
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.9.1
required: [effectiveDateTime, subject, effective]