description: Condition Profile for Rambam Medical Center based on R-hdp-condition structure. package_name: il.szmc.fhir.r4 derivation: constraint name: RambamCondition type: Condition elements: meta: elements: profile: pattern: {type: Canonical, value: 'http://fhir.rmc.gov.il/StructureDefinition/rmc-condition'} index: 0 required: [profile] identifier: index: 1 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: pro-diag: match: {system: 'http://fhir.rmc.gov.il/identifier/pro-diagnosis'} schema: _required: true index: 2 elements: type: elements: coding: elements: system: pattern: {type: Uri, value: 'http://health.gov.il/cs/il-core-identifier-type'} index: 3 code: pattern: {type: Code, value: strong-id} index: 4 display: pattern: {type: String, value: Strong Identifier} index: 5 system: pattern: {type: Uri, value: 'http://fhir.rmc.gov.il/identifier/pro-diagnosis'} index: 6 required: [system] category: array: true min: 2 index: 7 slicing: slices: rmc-component: match: {} schema: binding: {strength: required, valueSet: 'http://fhir.rmc.gov.il/ValueSet/diag-level'} _required: true index: 8 elements: coding: index: 9 elements: system: pattern: {type: Uri, value: 'http://fhir.rmc.gov.il/CodeSystem/diag-level'} index: 10 code: {index: 11} display: {index: 12} required: [display, code] required: [coding] diag-gen-attrib: match: {} schema: binding: {strength: required, valueSet: 'http://fhir.rmc.gov.il/ValueSet/diag-gen-attrib'} array: true index: 13 elements: coding: index: 14 elements: system: {index: 15} code: {index: 16} display: {index: 17} required: [display, system, code] code: elements: coding: array: true min: 2 index: 18 slicing: rules: open discriminator: - {path: system, type: value} min: 2 slices: icd-local: match: {system: 'http://fhir.rmc.gov.il/CodeSystem/icd-local'} schema: _required: true index: 19 elements: system: pattern: {type: Uri, value: 'http://fhir.rmc.gov.il/CodeSystem/icd-local'} index: 20 required: [system] local-old-code: match: {system: 'http://fhir.rmc.gov.il/CodeSystem/local-old-code'} schema: index: 21 elements: system: pattern: {type: Uri, value: 'http://fhir.rmc.gov.il/CodeSystem/local-old-code'} index: 22 required: [system] package_version: 0.3.1 class: profile kind: resource url: http://fhir.rmc.gov.il/StructureDefinition/rmc-condition base: http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-condition version: null