...
Version 0.96 dated 24 October 2018 of XDS Metadata for Document Profile, Danish Profile
Version 1.0.96.6 1 of XDS Metadata ValueSet, Danish Profile
...
After release 2024.4
Setting PracticeSettingCode metadata
The PracticeSettingCode is set based on the specialty of an organization.
...
The document metadata described here are those prepared in the IHE XDS.b DocumentEntry structure cf. XDS Metadata for Document Profile, Danish Profile, consisting of a number of attributes.
For the most part, document metadata attributes associated with a document reflects values within the document. Notably, there are the following two exceptions:
DocumentEntry attribute practiceSettingCode - which reflects the clinical specialty in which the document was authored. The eHealth Infrastructure uses an organisational specialty, as described below.
DocumentEntry attribute healthcareFacilityTypeCode - which reflects the organisational unit type
Determining the Organisational Context
The organisational context to use as source for the two document metadata attributes depends on the FHIR resource type which served as the primary driver of the document content:
For FHIR Observation and FHIR QuestionnaireResponse resources, the FHIR Organization is the one referenced from the
ClinicalImpression.assessorOrganization
...
of the
...
FHIR ClinicalImpression
...
approving document sharing.
For
...
FHIR Appointment resources, the FHIR Organization is the one referenced in
...
Appointment.responsibleOrganization
...
.
The specialty used depends on the source of the organization and thus the context.
...
Determining the practiceSettingCode Attribute Value
Whether a FHIR Organization specialty is primary or regular is determined from the Organization.
Info |
---|
After release 2024.4
|
If the
...
FHIR Organization has SOR source (has been imported from SOR), then the first primary specialty found on that specific
...
Organization is used, if no primary specialty is present the first regular specialty is used.
The determined specialty code is validated against the IHE XDS ValueSet https://ehealth.sundhed.dk/fhir/ValueSet-dk-ihe-practicesettingcode-vs.html . When valid, the value is used, otherwise the document registering is terminated.
Determining the healthcareFacilityTypeCode Attribute Value
The value of Organization.type
is validated against the IHE XDS ValueSet https://ehealth.sundhed.dk/fhir/ValueSet-dk-ihe-healthcarefacilitytypecode-vs.html . When valid, the value is used, otherwise the document registering is terminated.