description: Proposed constraints and extensions on the JCPM Encounter-pregnancy Resource package_name: fhir.outburn.co.il derivation: constraint name: JCPMJCPMEncounterPregnancy type: Encounter elements: serviceProvider: elements: identifier: index: 33 elements: system: {index: 34} value: {index: 35} required: [system, value] required: [identifier] type: elements: coding: elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 10 code: pattern: {type: code, value: '271992004'} type: code index: 11 display: pattern: {type: string, value: Obstetric investigation} type: string index: 12 required: [code, display, system] serviceType: elements: coding: elements: system: pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/service-type'} type: uri index: 13 code: pattern: {type: code, value: '410'} type: code index: 14 display: pattern: {type: string, value: Pregnancy} type: string index: 15 required: [code, display, system] classHistory: elements: class: binding: {strength: required, valueSet: 'http://fhir.outburn.co.il/ValueSet/jcpm-encounter-class'} index: 6 elements: system: {index: 7} code: {index: 8} display: {index: 9} required: [code, display, system] status: pattern: {type: code, value: finished} type: code index: 0 class: binding: {strength: required, valueSet: 'http://fhir.outburn.co.il/ValueSet/jcpm-encounter-class'} index: 2 elements: system: {index: 3} code: {index: 4} display: {index: 5} required: [code, display, system] hospitalization: elements: origin: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location'] index: 24 admitSource: elements: coding: binding: {strength: required, valueSet: 'http://fhir.outburn.co.il/ValueSet/jcpm-encounter-admit-source'} index: 25 elements: system: {index: 26} code: {index: 27} display: {index: 28} required: [code, display, system] required: [coding] location: elements: location: elements: identifier: index: 29 elements: system: {index: 30} value: {index: 31} required: [system, value] required: [identifier] status: pattern: {type: code, value: completed} type: code index: 32 subject: index: 16 elements: reference: {index: 17} required: [reference] statusHistory: elements: status: binding: {strength: required, valueSet: 'http://fhir.outburn.co.il/ValueSet/jcpm-encounter-status'} index: 1 reasonReference: index: 18 elements: type: {index: 19} identifier: index: 20 elements: system: {index: 21} value: {index: 22} required: [system, value] display: {index: 23} required: [display, identifier, type] package_version: 0.5.1 class: profile kind: resource url: http://fhir.outburn.co.il/StructureDefinition/jcpm-enc-pregnancy base: http://fhir.health.gov.il/StructureDefinition/il-core-encounter version: 0.1.0 required: [reasonReference, subject]