PackagesCanonicalsLogsProblems
    Packages
    fhir.outburn.co.il@0.5.2
    http://fhir.outburn.co.il/StructureDefinition/jcpm-enc-birth
description: Proposed constraints and extensions on the JCPM Encounter-birth Resource
package_name: fhir.outburn.co.il
derivation: constraint
name: JCPMEncounterBirth
type: Encounter
elements:
  serviceProvider:
    elements:
      identifier:
        index: 24
        elements:
          system: {index: 25}
          value: {index: 26}
        required: [system, value]
    required: [identifier]
  type:
    elements:
      coding:
        elements:
          system:
            pattern: {type: uri, value: 'http://snomed.info/sct'}
            type: uri
            index: 9
          code:
            pattern: {type: code, value: '9153009'}
            type: code
            index: 10
          display:
            pattern: {type: string, value: Newborn care service}
            type: string
            index: 11
        required: [code, display, system]
  serviceType:
    elements:
      coding:
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/service-type'}
            type: uri
            index: 12
          code:
            pattern: {type: code, value: '409'}
            type: code
            index: 13
          display:
            pattern: {type: string, value: Postnatal}
            type: string
            index: 14
        required: [code, display, system]
  classHistory:
    elements:
      class:
        binding: {strength: required, valueSet: 'http://fhir.outburn.co.il/ValueSet/jcpm-encounter-class'}
        index: 5
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
            type: uri
            index: 6
          code:
            pattern: {type: code, value: IMP}
            type: code
            index: 7
          display:
            pattern: {type: string, value: inpatient encounter}
            type: string
            index: 8
        required: [code, display, system]
  status:
    pattern: {type: code, value: finished}
    type: code
    index: 0
  class:
    elements:
      system:
        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        type: uri
        index: 2
      code:
        pattern: {type: code, value: IMP}
        type: code
        index: 3
      display:
        pattern: {type: string, value: inpatient encounter}
        type: string
        index: 4
    required: [code, display, system]
  hospitalization:
    elements:
      admitSource:
        elements:
          coding:
            index: 17
            elements:
              system:
                pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/admit-source'}
                type: uri
                index: 18
              code:
                pattern: {type: code, value: born}
                type: code
                index: 19
              display:
                pattern: {type: string, value: Born in hospital}
                type: string
                index: 20
            required: [code, display, system]
        required: [coding]
  location:
    elements:
      location:
        elements:
          identifier:
            index: 21
            elements:
              system: {index: 22}
              value: {index: 23}
            required: [system, value]
        required: [identifier]
  subject:
    index: 15
    elements:
      reference: {index: 16}
    required: [reference]
  statusHistory:
    elements:
      status:
        binding: {strength: required, valueSet: 'http://fhir.outburn.co.il/ValueSet/jcpm-encounter-status'}
        index: 1
package_version: 0.5.2
class: profile
kind: resource
url: http://fhir.outburn.co.il/StructureDefinition/jcpm-enc-birth
base: http://fhir.health.gov.il/StructureDefinition/il-core-encounter
version: 0.1.0
required: [subject]