PackagesCanonicalsLogsProblems
    Packages
    IdHIE.0v@0.0.1
    http://fhir.hie.moh.gov.id/StructureDefinition/Location-id-core
description: Defines basic constraints and extensions on the Location resource for use with other ID Core resources
package_name: IdHIE.0v
derivation: constraint
name: LocationIdCore
type: Location
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        audit:
          match: {url: null}
          schema: {isModifier: false, short: Record audit on individual who recorded and updated the data, type: Extension, url: 'http://fhir.hie.moh.gov.id/StructureDefinition/audit-id-core', index: 1}
          min: 0
          max: 1
  status: {index: 2}
  name: {index: 3}
  type:
    binding: {strength: extensible, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/location-type-id-core'}
    index: 4
    elements:
      coding:
        index: 5
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            encounterClass:
              match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/encounter-class-id-core'}
              schema:
                binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/encounter-class-id-core'}
                index: 6
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/encounter-class-id-core'}
                    index: 7
                required: [system]
            wardClass:
              match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/ward-class-id-core'}
              schema:
                binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/ward-class-id-core'}
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/ward-class-id-core'}
                    index: 9
                required: [system]
            wardCategory:
              match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/ward-category-id-core'}
              schema:
                binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/ward-category-id-core'}
                index: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/ward-category-id-core'}
                    index: 11
                required: [system]
            wardSpecialty:
              match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/ward-specialty-id-core'}
              schema:
                binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/ward-specialty-id-core'}
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/ward-specialty-id-core'}
                    index: 13
                required: [system]
  address: {type: Address, index: 14}
  managingOrganization: {index: 15}
package_version: 0.0.1
extensions:
  audit: {url: 'http://fhir.hie.moh.gov.id/StructureDefinition/audit-id-core', min: 0, max: 1, isModifier: false, short: Record audit on individual who recorded and updated the data, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.hie.moh.gov.id/StructureDefinition/Location-id-core
base: http://hl7.org/fhir/StructureDefinition/Location
version: 1.0.0
required: [managingOrganization, name, status]