PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-core@1.0.0
    http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference-epr
description: Base definition for a document reference in the context of the electronic patient record (EPR).
package_name: ch.fhir.ig.ch-core
derivation: constraint
name: CHCoreDocumentReferenceEPR
type: DocumentReference
elements:
  category:
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode'}
    index: 2
  date: {index: 5}
  content:
    index: 9
    elements:
      attachment:
        index: 10
        elements:
          contentType:
            binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.mimeType'}
            index: 11
          language:
            binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.languageCode'}
            index: 12
          url: {index: 13}
        required: [url, contentType, language]
      format:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.formatCode'}
        index: 14
    required: [format]
  type:
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode'}
    index: 1
  author:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-patient-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 6
    elements:
      reference: {index: 7}
    required: [reference]
  status: {index: 0}
  context:
    index: 15
    elements:
      facilityType:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.healthcareFacilityTypeCode'}
        index: 16
      practiceSetting:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.practiceSettingCode'}
        index: 17
  securityLabel:
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.confidentialityCode'}
    index: 8
  subject:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-patient-epr']
    index: 3
    elements:
      reference: {index: 4}
    required: [reference]
package_version: 1.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference-epr
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference
version: 1.0.0
required: [securityLabel, author, subject, type, date, category]