description: This profile constrains the Observation resource to represent the gestational age in days. package_name: rs/ch.fhir.ig.ch derivation: constraint name: ChEpregObservationGestationalAgeInDays type: Observation elements: value[x]: elements: value: {index: 10} unit: {index: 11} system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} type: uri index: 12 code: pattern: {type: code, value: d} type: code index: 13 required: [code, system, unit, value] encounter: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother'] index: 2 valueQuantity: {type: Quantity, choiceOf: value, index: 9} value: choices: [valueQuantity] index: 8 effectiveDateTime: {type: dateTime, choiceOf: effective, index: 5} effective: choices: [effectiveDateTime] index: 4 code: pattern: type: CodeableConcept value: coding: - {code: 49052-4, system: 'http://loinc.org'} type: CodeableConcept index: 0 subject: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother'] index: 1 performer: {index: 6} package_version: epreg-1.0.0-ballot class: profile kind: resource url: http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-observation-gestational-age-in-days base: http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-observation-preg-progress version: 1.0.0-ballot required: [value, valueQuantity]