description: This resource is intended to be used in relation with a HomeCareObservation message package_name: medcom.fhir.dk.homecareobservation derivation: constraint name: MedComHomeCareObservationDiagnosticReport type: DiagnosticReport elements: meta: elements: security: mustSupport: true pattern: type: Coding value: {code: R, system: 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality', display: Restricted} type: Coding index: 0 status: pattern: {type: code, value: final} type: code 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: 'The practitioner, who performed the observations, must have a code', source: 'http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecareobservation-diagnosticreport', severity: error, expression: reference.resolve().code.coding.code.exists()} medcom-homecareReport-2: {human: 'The practitioner, who performed the observations, must have a name', source: 'http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecareobservation-diagnosticreport', severity: error, expression: reference.resolve().practitioner.resolve().name.exists()} medcom-homecareReport-3: {human: 'The practitioner, who performed the observations, must have a phone number', source: 'http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecareobservation-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.1.0-trial-use class: profile kind: resource url: http://medcomfhir.dk/ig/homecareobservation/StructureDefinition/medcom-homecareobservation-diagnosticreport base: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-diagnosticreport version: 1.1.0-trial-use