Inera Core Implementation Guide
0.2.0 - ci-build
Sweden
Inera Core Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Draft as of 2026-01-09 |
{
"resourceType" : "ConceptMap",
"id" : "ConceptMapGetCarePlanTKBToDocumentReference",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap ConceptMapGetCarePlanTKBToDocumentReference</b></p><a name=\"ConceptMapGetCarePlanTKBToDocumentReference\"> </a><a name=\"hcConceptMapGetCarePlanTKBToDocumentReference\"> </a><p>Mapping from https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2 to <a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</a></p><br/><p><b>Group 1 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2</code> to <a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>patientId (Patient ID (personnummer/samordningsnummer/reservnummer))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">Query parameter: GET /DocumentReference?subject=Patient/191212121212&type=care-plan</td></tr><tr><td>careUnitHSAId (Care unit HSA-ID filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">Query parameter: GET /DocumentReference?custodian=Organization/{hsaid}</td></tr><tr><td>datePeriod (Date period for document creation)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">Query parameter: GET /DocumentReference?date=ge2024-01-01&date=le2024-12-31</td></tr><tr><td>sourceSystemHSAId</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">Query parameter: GET /DocumentReference?custodian.identifier={hsaid}</td></tr><tr><td>careContactId (Care contact ID filter)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">Query parameter: GET /DocumentReference?context=Encounter/{careContactId}</td></tr></table><hr/><p><b>Group 2 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2</code> to <a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>carePlan.carePlanHeader.documentId (Document ID (care plan identifier))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>masterIdentifier</td><td>Unique identifier for the care plan document, stable across versions</td></tr><tr><td>carePlan.carePlanHeader.documentTitle (Document title (care plan heading))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>description</td><td>Descriptive title for the care plan (e.g., 'Samordnad vårdplanering', 'Rehabiliteringsplan')</td></tr><tr><td>carePlan.carePlanHeader.documentTime (Document creation time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>date</td><td>When the care plan document was created</td></tr><tr><td>carePlan.carePlanHeader.patientId (Patient ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>subject</td><td>Reference to Patient resource with Swedish national identifier</td></tr><tr><td>carePlan.carePlanHeader.accountableHealthcareProfessional (Accountable healthcare professional (care plan author))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>author</td><td>Reference to PractitionerRole for the healthcare professional responsible for the care plan</td></tr><tr><td>carePlan.carePlanHeader.legalAuthenticator (Legal authenticator (signer))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>authenticator</td><td>Reference to Practitioner who signed the care plan document</td></tr><tr><td>carePlan.carePlanHeader.approvedForPatient (Approved for patient viewing (direktåtkomst))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>securityLabel</td><td>If false, add security label to restrict patient portal access. Use SNOMED CT code or custom extension</td></tr><tr><td>carePlan.carePlanHeader.careContactId (Care contact ID (triggering encounter))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>context.encounter</td><td>Reference to Encounter that prompted the care plan creation</td></tr><tr><td>carePlan.carePlanHeader.sourceSystemHSAId (Source system HSA-ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>custodian</td><td>Reference to Organization (source system) that maintains the document</td></tr><tr><td>carePlan.carePlanBody.typeOfCarePlan (Type of care plan (SIP, VP, HP, RP, etc.))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>type</td><td>CodeableConcept for care plan type: SIP, SPLPTLRV, SPU, VP, HP, RP, GP, SVP. Use Swedish care plan terminology</td></tr><tr><td>carePlan.carePlanBody.content (Care plan content (document attachments))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>content</td><td>Array of attachments with content.attachment elements. Each TKB content maps to one FHIR content element</td></tr><tr><td>carePlan.carePlanBody.content.mediaType (Media type (MIME type))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>content.attachment.contentType</td><td>MIME type: text/plain, text/html, image/png, image/jpeg, image/tiff, application/pdf</td></tr><tr><td>carePlan.carePlanBody.content.value (Inline binary data (base64))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>content.attachment.data</td><td>Base64-encoded binary data. Use when content is embedded inline</td></tr><tr><td>carePlan.carePlanBody.content.reference (External reference (URL))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>content.attachment.url</td><td>URL to external binary file. Use when content is stored externally</td></tr><tr><td>carePlan.carePlanBody.participatingCareUnitHSAId (Participating care units (HSA-IDs))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#relatedto\" title=\"relatedto\">is related to</a></td><td>context.related</td><td>Array of Organization references for participating care units. Use context.related or custom extension</td></tr><tr><td>carePlan.status (Document status (implicit from TKB))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>status</td><td>DocumentReference.status: current (if active), superseded (if replaced), entered-in-error (if nullified)</td></tr><tr><td>carePlan.category (Document category (care plan))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>category</td><td>Use LOINC code for care plan documents or Swedish care plan category codes</td></tr></table><hr/><p><b>Group 3 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2</code> to <a href=\"http://hl7.org/fhir/R4/provenance.html\">Provenance</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>carePlan.carePlanHeader.sourceSystemHSAId (Source system HSA-ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>entity.what</td><td>Provenance.entity.what references Device with HSA-ID. Provenance.entity.role = source</td></tr><tr><td>carePlan.carePlanHeader.accountableHealthcareProfessional.authorTime (Author time (registration time))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>recorded</td><td>When the care plan was documented/registered in the source system</td></tr><tr><td>carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId (Author HSA-ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>agent.who</td><td>Provenance.agent.who references PractitionerRole with type=author/documenter</td></tr><tr><td>carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareUnitHSAId (Author's care unit HSA-ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>agent.onBehalfOf</td><td>Provenance.agent.onBehalfOf references Organization (care unit)</td></tr><tr><td>carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareGiverHSAId (Care giver HSA-ID (vårdgivare))</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>entity.what</td><td>Provenance.entity.what references Organization (care giver) for organizational hierarchy</td></tr><tr><td>carePlan.carePlanHeader.legalAuthenticator.signatureTime (Signature time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>signature.when</td><td>When the care plan document was signed</td></tr><tr><td>carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorHSAId (Signer HSA-ID)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>signature.who</td><td>Provenance.signature.who references Practitioner who signed the document</td></tr></table><hr/><p><b>Group 4 </b>Mapping from <code>https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2</code> to <a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>result.resultCode (Result code (OK, INFO, ERROR))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">Maps to Bundle.entry.response.status or OperationOutcome for errors</td></tr><tr><td>result.errorCode (Error code)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">Maps to OperationOutcome.issue.code when resultCode=ERROR</td></tr><tr><td>result.logId (Log ID (UUID for troubleshooting))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">UUID for error tracking. Can be included in OperationOutcome.issue.diagnostics</td></tr><tr><td>result.message (Result message)</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">User-facing message. Maps to OperationOutcome.issue.diagnostics</td></tr><tr><td>result.subcode (Result subcode (not specified))</td><td colspan=\"2\" style=\"background-color: #efefef\">(not mapped)</td><td style=\"background-color: #efefef\">No subcodes defined in this version. Reserved for future use</td></tr></table></div>"
},
"url" : "https://inera.se/fhir/core/ConceptMap/getcareplan-tkb-to-documentreference",
"version" : "0.2.0",
"name" : "ConceptMapGetCarePlanTKBToDocumentReference",
"title" : "ConceptMap GetCarePlan TKB to FHIR DocumentReference",
"status" : "draft",
"experimental" : true,
"date" : "2026-01-09",
"publisher" : "Inera AB",
"contact" : [
{
"name" : "Inera AB",
"telecom" : [
{
"system" : "url",
"value" : "https://www.inera.se"
},
{
"system" : "email",
"value" : "info@inera.se"
}
]
},
{
"name" : "Inera AB",
"telecom" : [
{
"system" : "url",
"value" : "https://www.inera.se"
},
{
"system" : "email",
"value" : "info@inera.se"
}
]
}
],
"description" : "Mapping from GetCarePlan v2.0 TKB service to FHIR DocumentReference and Provenance resources.\n\n**TKB Service**: GetCarePlan v2.0 \n**TKB Domain**: clinicalprocess:logistics:logistics v2\n**Logical Model**: GetcareplansResponseLM\n**FHIR Resources**: DocumentReference (primary), Provenance (metadata)\n\n**Mapping Coverage**:\n- ✅ Header metadata: 15+ elements (document ID, title, patient, author, signer, care contact)\n- ✅ Document content: Multiple attachments with mediaType (text/plain, text/html, image/png, image/jpeg, image/tiff, application/pdf)\n- ✅ Plan metadata: Type of care plan (SIP, SPLPTLRV, SPU, VP, HP, RP, GP, SVP), participating care units\n- ✅ Access control: approvedForPatient flag for patient portal visibility\n\n**Care Plan Types** (typeOfCarePlan):\n- SIP - Samordnad individuell plan (Coordinated individual plan)\n- SPLPTLRV - Samordnad plan enligt LPT eller LRV (Coordinated plan according to Mental Health Act)\n- SPU - Samordnad plan vid utskrivning (Coordinated discharge plan)\n- VP - Vårdplan (Care plan)\n- HP - Habiliteringsplan (Habilitation plan)\n- RP - Rehabiliteringsplan (Rehabilitation plan)\n- GP - Genomförandeplan (Implementation plan)\n- SVP - Standardiserad vårdplan (Standardized care plan)",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "SE",
"display" : "Sweden"
}
]
}
],
"sourceUri" : "https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2",
"targetCanonical" : "http://hl7.org/fhir/StructureDefinition/DocumentReference",
"group" : [
{
"source" : "https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2",
"target" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"element" : [
{
"code" : "patientId",
"display" : "Patient ID (personnummer/samordningsnummer/reservnummer)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "Query parameter: GET /DocumentReference?subject=Patient/191212121212&type=care-plan"
}
]
},
{
"code" : "careUnitHSAId",
"display" : "Care unit HSA-ID filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "Query parameter: GET /DocumentReference?custodian=Organization/{hsaid}"
}
]
},
{
"code" : "datePeriod",
"display" : "Date period for document creation",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "Query parameter: GET /DocumentReference?date=ge2024-01-01&date=le2024-12-31"
}
]
},
{
"code" : "sourceSystemHSAId",
"display" : "Source system HSA-ID",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "Query parameter: GET /DocumentReference?custodian.identifier={hsaid}"
}
]
},
{
"code" : "careContactId",
"display" : "Care contact ID filter",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "Query parameter: GET /DocumentReference?context=Encounter/{careContactId}"
}
]
}
]
},
{
"source" : "https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2",
"target" : "http://hl7.org/fhir/StructureDefinition/DocumentReference",
"element" : [
{
"code" : "carePlan.carePlanHeader.documentId",
"display" : "Document ID (care plan identifier)",
"target" : [
{
"code" : "masterIdentifier",
"equivalence" : "equivalent",
"comment" : "Unique identifier for the care plan document, stable across versions"
}
]
},
{
"code" : "carePlan.carePlanHeader.documentTitle",
"display" : "Document title (care plan heading)",
"target" : [
{
"code" : "description",
"equivalence" : "equivalent",
"comment" : "Descriptive title for the care plan (e.g., 'Samordnad vårdplanering', 'Rehabiliteringsplan')"
}
]
},
{
"code" : "carePlan.carePlanHeader.documentTime",
"display" : "Document creation time",
"target" : [
{
"code" : "date",
"equivalence" : "equivalent",
"comment" : "When the care plan document was created"
}
]
},
{
"code" : "carePlan.carePlanHeader.patientId",
"display" : "Patient ID",
"target" : [
{
"code" : "subject",
"equivalence" : "equivalent",
"comment" : "Reference to Patient resource with Swedish national identifier"
}
]
},
{
"code" : "carePlan.carePlanHeader.accountableHealthcareProfessional",
"display" : "Accountable healthcare professional (care plan author)",
"target" : [
{
"code" : "author",
"equivalence" : "equivalent",
"comment" : "Reference to PractitionerRole for the healthcare professional responsible for the care plan"
}
]
},
{
"code" : "carePlan.carePlanHeader.legalAuthenticator",
"display" : "Legal authenticator (signer)",
"target" : [
{
"code" : "authenticator",
"equivalence" : "equivalent",
"comment" : "Reference to Practitioner who signed the care plan document"
}
]
},
{
"code" : "carePlan.carePlanHeader.approvedForPatient",
"display" : "Approved for patient viewing (direktåtkomst)",
"target" : [
{
"code" : "securityLabel",
"equivalence" : "relatedto",
"comment" : "If false, add security label to restrict patient portal access. Use SNOMED CT code or custom extension"
}
]
},
{
"code" : "carePlan.carePlanHeader.careContactId",
"display" : "Care contact ID (triggering encounter)",
"target" : [
{
"code" : "context.encounter",
"equivalence" : "equivalent",
"comment" : "Reference to Encounter that prompted the care plan creation"
}
]
},
{
"code" : "carePlan.carePlanHeader.sourceSystemHSAId",
"display" : "Source system HSA-ID",
"target" : [
{
"code" : "custodian",
"equivalence" : "equivalent",
"comment" : "Reference to Organization (source system) that maintains the document"
}
]
},
{
"code" : "carePlan.carePlanBody.typeOfCarePlan",
"display" : "Type of care plan (SIP, VP, HP, RP, etc.)",
"target" : [
{
"code" : "type",
"equivalence" : "equivalent",
"comment" : "CodeableConcept for care plan type: SIP, SPLPTLRV, SPU, VP, HP, RP, GP, SVP. Use Swedish care plan terminology"
}
]
},
{
"code" : "carePlan.carePlanBody.content",
"display" : "Care plan content (document attachments)",
"target" : [
{
"code" : "content",
"equivalence" : "equivalent",
"comment" : "Array of attachments with content.attachment elements. Each TKB content maps to one FHIR content element"
}
]
},
{
"code" : "carePlan.carePlanBody.content.mediaType",
"display" : "Media type (MIME type)",
"target" : [
{
"code" : "content.attachment.contentType",
"equivalence" : "equivalent",
"comment" : "MIME type: text/plain, text/html, image/png, image/jpeg, image/tiff, application/pdf"
}
]
},
{
"code" : "carePlan.carePlanBody.content.value",
"display" : "Inline binary data (base64)",
"target" : [
{
"code" : "content.attachment.data",
"equivalence" : "equivalent",
"comment" : "Base64-encoded binary data. Use when content is embedded inline"
}
]
},
{
"code" : "carePlan.carePlanBody.content.reference",
"display" : "External reference (URL)",
"target" : [
{
"code" : "content.attachment.url",
"equivalence" : "equivalent",
"comment" : "URL to external binary file. Use when content is stored externally"
}
]
},
{
"code" : "carePlan.carePlanBody.participatingCareUnitHSAId",
"display" : "Participating care units (HSA-IDs)",
"target" : [
{
"code" : "context.related",
"equivalence" : "relatedto",
"comment" : "Array of Organization references for participating care units. Use context.related or custom extension"
}
]
},
{
"code" : "carePlan.status",
"display" : "Document status (implicit from TKB)",
"target" : [
{
"code" : "status",
"equivalence" : "equivalent",
"comment" : "DocumentReference.status: current (if active), superseded (if replaced), entered-in-error (if nullified)"
}
]
},
{
"code" : "carePlan.category",
"display" : "Document category (care plan)",
"target" : [
{
"code" : "category",
"equivalence" : "equivalent",
"comment" : "Use LOINC code for care plan documents or Swedish care plan category codes"
}
]
}
]
},
{
"source" : "https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2",
"target" : "http://hl7.org/fhir/StructureDefinition/Provenance",
"element" : [
{
"code" : "carePlan.carePlanHeader.sourceSystemHSAId",
"display" : "Source system HSA-ID",
"target" : [
{
"code" : "entity.what",
"equivalence" : "equivalent",
"comment" : "Provenance.entity.what references Device with HSA-ID. Provenance.entity.role = source"
}
]
},
{
"code" : "carePlan.carePlanHeader.accountableHealthcareProfessional.authorTime",
"display" : "Author time (registration time)",
"target" : [
{
"code" : "recorded",
"equivalence" : "equivalent",
"comment" : "When the care plan was documented/registered in the source system"
}
]
},
{
"code" : "carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId",
"display" : "Author HSA-ID",
"target" : [
{
"code" : "agent.who",
"equivalence" : "equivalent",
"comment" : "Provenance.agent.who references PractitionerRole with type=author/documenter"
}
]
},
{
"code" : "carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareUnitHSAId",
"display" : "Author's care unit HSA-ID",
"target" : [
{
"code" : "agent.onBehalfOf",
"equivalence" : "equivalent",
"comment" : "Provenance.agent.onBehalfOf references Organization (care unit)"
}
]
},
{
"code" : "carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareGiverHSAId",
"display" : "Care giver HSA-ID (vårdgivare)",
"target" : [
{
"code" : "entity.what",
"equivalence" : "equivalent",
"comment" : "Provenance.entity.what references Organization (care giver) for organizational hierarchy"
}
]
},
{
"code" : "carePlan.carePlanHeader.legalAuthenticator.signatureTime",
"display" : "Signature time",
"target" : [
{
"code" : "signature.when",
"equivalence" : "equivalent",
"comment" : "When the care plan document was signed"
}
]
},
{
"code" : "carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorHSAId",
"display" : "Signer HSA-ID",
"target" : [
{
"code" : "signature.who",
"equivalence" : "equivalent",
"comment" : "Provenance.signature.who references Practitioner who signed the document"
}
]
}
]
},
{
"source" : "https://rivta.se/domains/clinicalprocess/logistics/logistics/GetCarePlansResponder/2",
"target" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"element" : [
{
"code" : "result.resultCode",
"display" : "Result code (OK, INFO, ERROR)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "Maps to Bundle.entry.response.status or OperationOutcome for errors"
}
]
},
{
"code" : "result.errorCode",
"display" : "Error code",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "Maps to OperationOutcome.issue.code when resultCode=ERROR"
}
]
},
{
"code" : "result.logId",
"display" : "Log ID (UUID for troubleshooting)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "UUID for error tracking. Can be included in OperationOutcome.issue.diagnostics"
}
]
},
{
"code" : "result.message",
"display" : "Result message",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "User-facing message. Maps to OperationOutcome.issue.diagnostics"
}
]
},
{
"code" : "result.subcode",
"display" : "Result subcode (not specified)",
"target" : [
{
"equivalence" : "unmatched",
"comment" : "No subcodes defined in this version. Reserved for future use"
}
]
}
]
}
]
}