description: Quantitative anthropometric measurement for the scope of the Czech national interoperability project. package_name: hl7.fhir.cz.img-order derivation: constraint name: CZ_Anthropometric_Test_Result type: Observation elements: category: mustSupport: true index: 0 slicing: rules: open ordered: false discriminator: - {path: coding.code, type: value} - {path: coding.system, type: value} min: null slices: VSCat: match: coding: {code: vital-signs, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} schema: mustSupport: true _required: true index: 1 elements: coding: mustSupport: true index: 2 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'} mustSupport: true index: 3 code: pattern: {type: Code, value: vital-signs} mustSupport: true index: 4 required: [system, code] required: [coding] hasMember: {index: 27} value[x]: elements: value: {index: 23} unit: {index: 24} system: pattern: {type: Uri, value: 'http://unitsofmeasure.org'} index: 25 code: {index: 26} required: [value, unit, code] valueQuantity: type: Quantity choiceOf: value index: 22 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 22} value: choices: [valueQuantity] index: 21 slicing: slices: valueQuantity: match: {} schema: choices: [valueQuantity] index: 21 component: {index: 28} effectiveDateTime: type: dateTime constraint: cz-anthropometric-effective-day: {human: The effective date and time must be precise at least to the day., source: 'https://hl7.cz/fhir/img-order/StructureDefinition/cz-anthropometric-test-result', severity: error, expression: ($this as dateTime).toString().length() >= 8} choiceOf: effective index: 16 effective: constraint: cz-anthropometric-effective-day: {human: The effective date and time must be precise at least to the day., source: 'https://hl7.cz/fhir/img-order/StructureDefinition/cz-anthropometric-test-result', severity: error, expression: ($this as dateTime).toString().length() >= 8} choices: [effectiveDateTime] index: 15 code: elements: coding: index: 5 slicing: rules: closed discriminator: - {path: system, type: value} min: 1 slices: LOINC: match: {system: 'http://loinc.org'} schema: short: Required LOINC magic code and optional more specific LOINC codes binding: {strength: extensible, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-anthropometric-metric'} array: true min: 1 _required: true index: 6 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 7 code: {index: 8} required: [system, code] SNOMEDCT: match: {system: 'http://snomed.info/sct'} schema: short: Defined SNOMED CT anthropometric concepts or their more specific descendants binding: {strength: required, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/sct-vital-signs'} array: true index: 9 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 10 version: pattern: {type: String, value: 'http://snomed.info/sct/11000279109'} index: 11 code: {index: 12} required: [version, system, code] required: [coding] subject: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core'] index: 13 package_version: 1.0.0 class: profile kind: resource url: https://hl7.cz/fhir/img-order/StructureDefinition/cz-anthropometric-test-result base: https://hl7.cz/fhir/core/StructureDefinition/medicalTestResult-cz-core version: 1.0.0