description: This profile sets minimum expectations for searching and fetching patient documents including the Clinical Notes using the DocumentReference resource. package_name: ndhm.in derivation: constraint name: DocumentReference type: DocumentReference elements: status: {mustSupport: true, index: 0} subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner'] index: 1 author: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole'] index: 2 authenticator: type: Reference refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole'] index: 3 custodian: type: Reference refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization'] index: 4 relatesTo: elements: target: type: Reference refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentReference'] index: 5 content: mustSupport: true index: 6 elements: attachment: mustSupport: true index: 7 elements: contentType: {mustSupport: true, index: 8} data: {mustSupport: true, index: 9} required: [contentType, data] context: elements: encounter: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter'] index: 10 sourcePatientInfo: type: Reference refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient'] index: 11 package_version: 3.0.1 class: profile kind: resource url: https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 3.0.1