description: Proposed constraints and extensions on JCPM Observation Amniotic Fluid Resource package_name: fhir.outburn.co.il derivation: constraint name: JCPMObservationAmnioticFluid type: Observation elements: status: pattern: {type: code, value: final} type: code index: 0 code: elements: coding: index: 1 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 2 code: pattern: {type: code, value: '249129009'} type: code index: 3 display: pattern: {type: string, value: Condition of amniotic fluid} type: string index: 4 required: [code, system] required: [coding] subject: type: Reference refers: ['http://fhir.outburn.co.il/StructureDefinition/jcpm-patient'] index: 5 focus: index: 6 elements: type: pattern: {type: uri, value: condition} type: uri index: 7 identifier: index: 8 elements: system: {index: 9} value: {index: 10} required: [system, value] display: pattern: {type: string, value: הריון} type: string index: 11 required: [identifier] component: mustSupport: false array: true min: 3 index: 12 slicing: rules: open discriminator: - {path: code.coding.system, type: value} - {path: code.coding.code, type: value} min: 3 slices: fluid-index-sum: match: code: coding: {system: 'http://loinc.org', code: 11627-7} schema: _required: true index: 13 elements: code: elements: coding: index: 14 elements: system: pattern: {type: uri, value: 'http://loinc.org'} type: uri index: 15 code: pattern: {type: code, value: 11627-7} type: code index: 16 display: pattern: {type: string, value: Fetal Amniotic fluid index.sum derived by US} type: string index: 17 required: [code, system] required: [coding] value: choices: [valueQuantity] index: 19 valueQuantity: type: Quantity choiceOf: value index: 20 elements: value: {index: 22} unit: pattern: {type: string, value: cm} type: string index: 23 system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} type: uri index: 24 code: pattern: {type: code, value: cm} type: code index: 25 required: [code, system, unit, value] required: [value, valueQuantity] space-diameter: match: code: coding: {system: 'http://loinc.org', code: 11817-4} schema: _required: true index: 26 elements: code: elements: coding: index: 27 elements: system: pattern: {type: uri, value: 'http://loinc.org'} type: uri index: 28 code: pattern: {type: code, value: 11817-4} type: code index: 29 display: pattern: {type: string, value: Fetal Amniotic fluid space Diameter largest pocket US} type: string index: 30 required: [code, system] required: [coding] value: choices: [valueQuantity] index: 32 valueQuantity: type: Quantity choiceOf: value index: 33 elements: value: {index: 35} unit: pattern: {type: string, value: cm} type: string index: 36 system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} type: uri index: 37 code: pattern: {type: code, value: cm} type: code index: 38 required: [code, system, unit, value] required: [value, valueQuantity] AFI: match: code: coding: {system: 'http://loinc.org', code: 12167-3} schema: _required: true index: 39 elements: code: elements: coding: index: 40 elements: system: pattern: {type: uri, value: 'http://loinc.org'} type: uri index: 41 code: pattern: {type: code, value: 12167-3} type: code index: 42 display: pattern: {type: string, value: 'Fetal Amniotic fluid space [Interpretation] Volume.amniotic fluid US'} type: string index: 43 required: [code, system] required: [coding] value: choices: [valueCodeableConcept] index: 45 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 46 elements: coding: elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 48 code: {index: 49} required: [code, system] required: [value, valueCodeableConcept] package_version: 0.5.2 class: profile kind: resource url: http://fhir.outburn.co.il/StructureDefinition/jcpm-obs-amniotic-fluid base: http://fhir.health.gov.il/StructureDefinition/il-core-observation version: 0.3.0 required: [focus, subject]