HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

ConceptMap: Segment PRTnull to CareTeam Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-prt-to-careteam Version: 1.0.0-ballot
Active as of 2024-07-28 Computable Name: SegmentPRTToCareTeam

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment PRT to the FHIR CareTeam Resource.

This ConceptMap represents the mapping from the HL7 V2 PRT Segment to the FHIR CareTeam Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
1PRT-1Participation Instance IDEI01
2PRT-2Action CodeID11IF PRT-2 IS "D"inactivate the relationship between the mapped resource that the PRT segment is asociated with in the message with the Device resource.
2PRT-2Action CodeID11IF PRT-2 IS IN ("A", "S", "U", X")activate the relationship between the mapped resource that the PRT segment is asociated with in the message with the Device resource.
3PRT-3Action ReasonCWE01
4PRT-4Role of ParticipationCWE11CareTeam.participant.roleCareTeam.CodeableConceptCWE[CodeableConcept]Participation
5PRT-5PersonXCN0-1IF PRT-6 IS NOT VALUEDCareTeam.participant.member(CareTeam.Practitioner)XCN[Practitioner]
5PRT-5PersonXCN0-1IF PRT-6 IS NOT VALUEDCareTeam.participant.member(CareTeam.RelatedPerson)XCN[RelatedPerson]
5PRT-5PersonXCN0-1IF PRT-6 IS VALUEDCareTeam.participant.member(CareTeam.PractitionerRole)XCN[PractitionerRole]
6PRT-6Person Provider TypeCWE01CareTeam.participant.member(CareTeam.PractitionerRole)CWE[PractitionerRole]
7PRT-7Organization Unit TypeCWE01
8PRT-8OrganizationXON0-1IF PRT-5 AND PRT-6 AREA NOT VALUED CareTeam.participant.member(CareTeam.Organization)XON[Organization]
8PRT-8OrganizationXON0-1IF PRT-5 OR PRT-6 IS VALUED CareTeam.participant.onBehalfOf(CareTeam.Organization)XON[Organization]
9PRT-9LocationPL0-1
10PRT-10DeviceEI0-1
10PRT-10DeviceEI0-1
11PRT-11Begin Date/Time (arrival time)DTM01CareTeam.participant.coveragePeriod.startCareTeam.dateTimeDTM[DateTime]
12PRT-12End Date/Time (departure time)DTM01CareTeam.participant.coveragePeriod.endCareTeam.dateTimeDTM[DateTime]
13PRT-13Qualitative DurationCWE01
14PRT-14AddressXAD0-1IF PRT-6 IS NOT VALUEDCareTeam.participant.member(CareTeam.Practitioner.address)XAD[Address]
14PRT-14AddressXAD0-1IF PRT-6 IS NOT VALUEDCareTeam.participant.member(CareTeam.RelatedPerson.address)XAD[Address]
14PRT-14AddressXAD0-1IF PRT-6 IS VALUEDCareTeam.participant.member(CareTeam.PractitionerRole.address)XAD[Address]
14PRT-14AddressXAD0-1IF PRT-5 AND PRT-6 AREA NOT VALUED CareTeam.participant.member(CareTeam.Organization.address)XAD[Address]
14PRT-14AddressXAD0-1IF PRT-5 OR PRT-6 IS VALUED CareTeam.participant.onBehalfOf(CareTeam.Organization.address)XAD[Address]
15PRT-15Telecommunication AddressXTN0-1IF PRT-6 IS NOT VALUEDCareTeam.participant.member(CareTeam.Practitioner.telecom)XTN[ContactPoint]
15PRT-15Telecommunication AddressXTN0-1IF PRT-6 IS NOT VALUEDCareTeam.participant.member(CareTeam.RelatedPerson.telecom)XTN[ContactPoint]
15PRT-15Telecommunication AddressXTN0-1IF PRT-6 IS VALUEDCareTeam.participant.member(CareTeam.PractitionerRole.telecom)XTN[ContactPoint]
15PRT-15Telecommunication AddressXTN0-1IF PRT-5 AND PRT-6 AREA NOT VALUED CareTeam.participant.member(CareTeam.Organization.telecom)XTN[ContactPoint]
15PRT-15Telecommunication AddressXTN0-1IF PRT-5 OR PRT-6 IS VALUED CareTeam.participant.onBehalfOf(CareTeam.Organization.telecom)XTN[ContactPoint]
16PRT-16UDI Device IdentifierEI01
17PRT-17Device Manufacture DateDTM01
18PRT-18Device Expiry DateDTM01
19PRT-19Device Lot NumberST01
20PRT-20Device Serial NumberST01
21PRT-21Device Donation IdentificationEI01
22PRT-22Device TypeCNE01
23PRT-23Preferred Method of ContactCWE01
24PRT-24Contact IdentifiersPLN0-1

Generated Narrative: ConceptMap segment-prt-to-careteam

Mapping from PRT to CareTeam


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from vocabularymapdatatypemapCodes from antlr
PRT-4Role of ParticipationParticipationCWE[CodeableConcept]is equivalent toparticipant.roleparticipant.role
PRT-5PersonXCN[Practitioner]is equivalent toparticipant[1].member(Practitioner)participant[1].member(Practitioner)IF PRT-6 IS NOT VALUED
PRT-5PersonXCN[RelatedPerson]is equivalent toparticipant[2].member(RelatedPerson)participant[2].member(RelatedPerson)IF PRT-6 IS NOT VALUED
PRT-5PersonXCN[PractitionerRole]is equivalent toparticipant[3].member(PractitionerRole)participant[3].member(PractitionerRole)IF PRT-6 IS VALUED
PRT-6Person Provider TypeCWE[PractitionerRole]is equivalent toparticipant[3].member(PractitionerRole)participant[3].member(PractitionerRole)
PRT-8OrganizationXON[Organization]is equivalent toparticipant.member(Organization)participant.member(Organization)IF PRT-5 AND PRT-6 AREA NOT VALUED
PRT-8OrganizationXON[Organization]is equivalent toparticipant.onBehalfOf(Organization)participant.onBehalfOf(Organization)IF PRT-5 OR PRT-6 IS VALUED
PRT-11Begin Date/Time (arrival time)DTM[DateTime]is equivalent toparticipant.coveragePeriod.startparticipant.coveragePeriod.start
PRT-12End Date/Time (departure time)DTM[DateTime]is equivalent toparticipant.coveragePeriod.endparticipant.coveragePeriod.end
PRT-14AddressXAD[Address]is equivalent toparticipant[1].member(Practitioner.address)participant[1].member(Practitioner.address)IF PRT-6 IS NOT VALUED
PRT-14AddressXAD[Address]is equivalent toparticipant[2].member(RelatedPerson.address)participant[2].member(RelatedPerson.address)IF PRT-6 IS NOT VALUED
PRT-14AddressXAD[Address]is equivalent toparticipant[3].member(PractitionerRole.address)participant[3].member(PractitionerRole.address)IF PRT-6 IS VALUED
PRT-14AddressXAD[Address]is equivalent toparticipant.member(Organization.address)participant.member(Organization.address)IF PRT-5 AND PRT-6 AREA NOT VALUED
PRT-14AddressXAD[Address]is equivalent toparticipant.onBehalfOf(Organization.address)participant.onBehalfOf(Organization.address)IF PRT-5 OR PRT-6 IS VALUED
PRT-15Telecommunication AddressXTN[ContactPoint]is equivalent toparticipant[1].member(Practitioner.telecom)participant[1].member(Practitioner.telecom)IF PRT-6 IS NOT VALUED
PRT-15Telecommunication AddressXTN[ContactPoint]is equivalent toparticipant[2].member(RelatedPerson.telecom)participant[2].member(RelatedPerson.telecom)IF PRT-6 IS NOT VALUED
PRT-15Telecommunication AddressXTN[ContactPoint]is equivalent toparticipant[3].member(PractitionerRole.telecom)participant[3].member(PractitionerRole.telecom)IF PRT-6 IS VALUED
PRT-15Telecommunication AddressXTN[ContactPoint]is equivalent toparticipant.member(Organization.telecom)participant.member(Organization.telecom)IF PRT-5 AND PRT-6 AREA NOT VALUED
PRT-15Telecommunication AddressXTN[ContactPoint]is equivalent toparticipant.onBehalfOf(Organization.telecom)participant.onBehalfOf(Organization.telecom)IF PRT-5 OR PRT-6 IS VALUED

Notes: