description: Proposed constraints and extensions on JCPM Procedure Complication Treatment profile package_name: fhir.outburn.co.il derivation: constraint name: JCPMProcedureComplicationTreatment type: Procedure elements: category: index: 1 elements: coding: mustSupport: false array: true min: 2 index: 2 slicing: rules: open discriminator: - {path: code.coding.system, type: value} min: 2 slices: condition-category: match: code: coding: {system: null} schema: _required: true index: 3 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 4 code: pattern: {type: code, value: '386637004'} type: code index: 5 display: pattern: {type: string, value: Obstetric procedure} type: string index: 6 required: [code, system] jcpm-resource-category: match: code: coding: {system: null} schema: binding: {strength: required, valueSet: 'http://fhir.outburn.co.il/ValueSet/jcpm-resource-category'} _required: true index: 7 elements: system: pattern: {type: uri, value: 'http://fhir.outburn.co.il/CodeSystem/jcpm-resource-category'} type: uri index: 8 code: {index: 9} required: [code, system] usedCode: elements: coding: elements: system: pattern: {type: uri, value: 'http://www.whocc.no/atc'} type: uri index: 23 code: {index: 24} display: {index: 25} required: [code, display, system] encounter: type: Reference refers: ['http://fhir.outburn.co.il/StructureDefinition/jcpm-enc-delivery'] index: 15 performed: choices: [performedPeriod] index: 17 status: pattern: {type: code, value: completed} type: code index: 0 code: elements: coding: index: 10 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 11 code: {index: 12} display: {index: 13} required: [code, display, system] required: [coding] performedPeriod: {type: Period, choiceOf: performed, index: 18} subject: type: Reference refers: ['http://fhir.outburn.co.il/StructureDefinition/jcpm-patient'] index: 14 reasonReference: mustSupport: false index: 20 slicing: rules: open discriminator: - {path: reference.resolve(), type: profile} min: null slices: delivery-diags: match: {} schema: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-condition', 'http://fhir.health.gov.il/StructureDefinition/il-core-diagnostic-report', 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', 'http://fhir.health.gov.il/StructureDefinition/il-core-procedure', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] array: true index: 21 min: 0 cond-umbilical: match: {} schema: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-condition', 'http://fhir.health.gov.il/StructureDefinition/il-core-diagnostic-report', 'http://fhir.health.gov.il/StructureDefinition/il-core-observation', 'http://fhir.health.gov.il/StructureDefinition/il-core-procedure', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 22 min: 0 max: 1 package_version: 0.3.1 class: profile kind: resource url: http://fhir.outburn.co.il/StructureDefinition/jcpm-proc-complication-treatment base: http://fhir.health.gov.il/StructureDefinition/il-core-procedure version: 0.3.0 required: [category, encounter]