STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

??.??.1 Resource nehta-shared-health-summary - Mappings

Mappings:

Mappings for the nehta-shared-health-summary resource.

??.??.1.1 Mappings for Logical Mapping (http://hl7.org/fhir/logical)

SharedHealthSummaryfor src make thing as tgt = create(Composition), tgt.code = concept("LOINC", "60591-5")
    subjectofCarefor src.subjectofCare as x make tgt.subject = x
    documentAuthorfor src.documentAuthor as x make tgt.author = x
for src.documentAuthor as xa make tgt.attestor as y = x, y.party = xa
    documentTypefor srcdocumentType make tgt.identifier then by type
    dateTimeAttestedfor src.dateTimeAttested as x make tgt.date = x
    adverseReactionsfor src.adverseReactions as ar make tgt.section as sct1, sct1.title = "Adverse Reactions", sct1.code= concept("nehta-sct" : "101.20113")
        exclusionStatementAdverseReactionsfor ar.exclusionStatementAdverseReactions as arex then by vars
            globalStatementfor arex as x make sct1.emptyReason = x
        adverseReactionfor ar.adverseReasion make ai as ai = create("AllergyIntolerance"), sct1.entry = pointer(ai)
            substanceAgentfor ai.substanceAgent as x make ai.substance = x
            eventfor ai.event as ev make ai.reaction as air then by vars
                manifestationfor ev.manifestation as x make air.manifestation = x
                reactionTypefor ev.reactionType as x make ai.type as x {only-one}
    medicationOrdersfor src.medicationOrders as mo make tgt.section as sct2, sct2.title = "Medication Orders", sct2.code= concept("nehta-sct" : "101.16146")
        exclusionStatementMedicationsfor mo.exclusionStatementMedications as moex then by vars
            globalStatementfor moex as x make sct2.emptyReason = x
        medicationInstructionfor mo.medicationInstruction as moi make ms as ms = create("MedicationStatement"), sct2.entry = pointer(ms)
            therapeuticGoodIdentificationfor moi.therapeuticGoodIdentification as x make ms.medicationCodeableConcept = x
            directionsfor moi.directions as moid make ms.dosage as msd, msd.text = moid
            clinicalIndicationfor moi.clinicalIndication as moic make ms.reasonForUseCodeableConcept as ru, ru.text = moic
            commentfor moi.comment as x make ms.note = x
    medicalHistoryfor src.medicalHistory as mh make tgt.section as sct3, sct3.title = "Medical History", sct3.code= concept("nehta-sct" : "101.16117")
        problemDiagnosisfor mh.problemDiagnosis as pd make cnd as cnd = create("Condition"), sct3.entry = pointer(cnd)
            identificationfor pd.identitification as x make cnd.code = x
            dateofOnsetfor pd.dateOfOnset as x make cnd.onsetDateTime = x
            dateofResolutionRemissionfor pd.dateOfResolutionRemission as x make cnd.abatementDate = x
            commentfor pd.comment as x make cnd.notes = x
        exclusionStatementProblemsandDiagnosesfor pd.exclusionStatementProblemsandDiagnoses as pdex then by vars
            globalStatementfor pdex as x make sct3.emptyReason = x
        procedurefor mh.procedure as pr make cndp as cndp = create("Condition"), sct3.entry = pointer(cndp)
            namefor pd.name as x make cndp.code = x
            commentfor pd.comment as x make cndp.notes = x
            dateTimefor pr.dateTime as x make cndp.onsetDateTime = x
        exclusionStatementProceduresfor mh.exclusionStatementProcedures as prex then by vars
            globalStatementfor prex as x make sct3.emptyReason = x
        uncategorisedMedicalHistoryItemfor mh.uncategorisedMedicalHistoryItem as item make cndi as cndp = create("Condition"), sct3.entry = pointer(cndi) then by vars
            descriptionfor item.description as x make cndi.code as y, y.text = x
            timeIntervalfor item.timeInterval as ti then by vars
for ti.start as x make cndi.onsetDateTime = x
for ti.end as x make cndi.abatementDate = x
            commentfor item.comment as x make cndi.notes = x
    immunisationsfor src.immunizations as imm make tgt.section as sct4, sct4.title = "Immunization", sct4.code= concept("nehta-sct", "101.16117)
        medicationActionfor imm.medicationAction as ima make im as im = create("Immunization"), sct4.entry = pointer(im)
            therapeuticGoodIdentificationfor ima.therapeuticGoodIdentification as x make im.vaccineType = x
            sequenceNumberfor ima.sequenceNumber as x make im.vaccinationProtocol as vp, vp.doseSequence = x
            dateTimefor ima.dateTime as x make imm.date = x
        exclusionStatementMedicationsfor imm.exclusionStatementMedications as imex then by vars
            globalStatementfor imex as x make sct4.emptyReason = x