PackagesCanonicalsLogsProblems
    Packages
    ch.chmed16af.emediplan.fhir@1.0.0
    http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-obs-dateoflastmenstruation
description: Profile on Oberservation for First day of last menstruation
package_name: ch.chmed16af.emediplan.fhir
derivation: constraint
name: FirstDayOfLastMenstruation
type: Observation
elements:
  code:
    index: 0
    elements:
      coding:
        index: 1
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            snomedlmstcode:
              match: {code: '161713000'}
              schema:
                index: 2
                elements:
                  system:
                    type: uri
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 3
                  code:
                    type: code
                    pattern: {type: Code, value: '161713000'}
                    index: 4
  value:
    choices: [valueDateTime, valueBoolean]
    index: 6
  valueDateTime: {type: dateTime, choiceOf: value, index: 7}
  valueBoolean: {type: boolean, choiceOf: value, index: 8}
package_version: 1.0.0
class: profile
kind: resource
url: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-obs-dateoflastmenstruation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [valueDateTime, value, valueBoolean]