description: This resource is intenden to be used in relation with a HomeCareObservation message package_name: medcom.fhir.dk.homecareobservation derivation: constraint name: MedComHomeCareDiagnosticReport type: DiagnosticReport elements: meta: elements: security: mustSupport: true pattern: type: Coding value: {code: R, system: 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality', display: Restricted} index: 0 status: elements: value: pattern: {type: String, value: final} index: 1 performer: type: Reference short: Performer of the observations. Shall include a name, practitioner role, relevant telephone of the producer. refers: ['http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitionerrole', 'http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-producer-organization'] array: true min: 2 max: 2 index: 2 slicing: rules: closed ordered: false description: ' Slice of observation codes' discriminator: - {path: resolve(), type: profile} min: 2 max: 2 slices: ProducerOrganization: match: {} schema: type: Reference short: 'Producer organization of the observations. Shall include a producer-ID (Danish: Producent-ID) of the producer' refers: ['http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-producer-organization'] _required: true index: 3 min: 1 max: 1 PractitionerRole: match: {} schema: type: Reference constraint: medcom-homecareReport-1: {human: There shall exist a practitioner role when using a PractitionerRole as author in a HomeCare Report., source: 'http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecare-diagnosticreport', severity: error, expression: reference.resolve().code.coding.code.exists()} medcom-homecareReport-2: {human: 'There shall exist a name of the healtcare worker that performed the observations, as author in a HomeCare Report.', source: 'http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecare-diagnosticreport', severity: error, expression: reference.resolve().practitioner.resolve().name.exists()} medcom-homecareReport-3: {human: 'There shall exist a telecom to the organization form the healthcare worker is part of, as author in a HomeCare Report.', source: 'http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecare-diagnosticreport', severity: error, expression: reference.resolve().practitioner.resolve().telecom.where(system = 'phone').exists()} refers: ['http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitionerrole'] _required: true index: 4 min: 1 max: 1 result: type: Reference refers: ['http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homeCare-observation'] index: 5 conclusion: {short: 'A comment relevant for all observations in the report and necessary to interpret and understand the results (Danish:Klinisk kommentar).', index: 6} package_version: 1.0.0 class: profile kind: resource url: http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecare-diagnosticreport base: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-diagnosticreport version: 1.0.0