# generated by CCDA-to-Turtle.xsl 2013-05-26T18:17:23-04:00
@prefix dt: <http://hl7.org/owl/datatypes/uv#> .
@prefix hl7: <http://hl7.org/owl/metadata#> .
@prefix rim: <http://hl7.org/owl/rim#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix err: <tag:eric@w3.org/2013/err> .

# Document Id2fb1e72f-d208-4394-bc35-1d2b6ada135b 2.201
# Document Created:February 18, 2013, 03:10:00, EST 
_:ClinicalDoc a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "2fb1e72f-d208-4394-bc35-1d2b6ada135b" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "DOCCLIN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2013-02-18"^^xsd:date ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "34133-9" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "SUMMARIZATION OF EPISODE NOTE" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# PatientIsabella JonesLanguageEnglish
# Date of birthMay 1, 1947 SexFemale
# RaceWhiteEthnicityNot Hispanic or Latino
# Contact info1122 Mystical Rt 3Beaverton, OR 97005, USTel:  +1-5554445555Patient IDs 2.100
# RecordTarget
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "RCT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:ClinicalDoc ;
    rim:Participation.role _:ClinicalDoc_recordTarget0
] .
_:ClinicalDoc_recordTarget0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.100" ]
    ] ;
    rim:Role.player _:ClinicalDoc_recordTarget0_player ;
    rim:Role.scoper _:ClinicalDoc_recordTarget0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "PAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5554445555" ; dt:TEL.use "HP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1122 Mystical Rt 3" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;
        err:country "US" ;
    ] ;
.
_:ClinicalDoc_recordTarget0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Jones" ] ;
        dt:COLL.item [ err:person-name-given "Isabella" ] ;
    ];
    rim:Entity.languageCommunication [
        rim:InfrastructureRoot.templateId [ dt:II.root "2.16.840.1.113883.3.88.11.32.2" ] ;
        rim:LanguageCommunication.languageCode [
            dt:CD.coding [ dt:CDCoding.code "eng" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.84" ]
        ] ;
        rim:LanguageCommunication.preferenceInd "true"
    ] ;
    rim:LivingSubject.administrativeGenderCode [
        hl7:coding [ dt:CDCoding.code "F" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1" ;
                     dt:CDCoding.displayName "Female" ; dt:CDCoding.codeSystemName "HL7 AdministrativeGender" ]
    ] ;

    rim:LivingSubject.birthTime "1947-05-01"^^xsd:date ;
    rim:Person.raceCode [ a dt:DSET_CD ;
        dt:COLL.item [
            hl7:coding [ dt:CDCoding.code "2106-3" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.238" ;
                         dt:CDCoding.displayName "White" ; dt:CDCoding.codeSystemName "CDC Race and Ethnicity" ]
        ]    
    ] ; ;
    rim:Person.ethnicGroupCode [ a dt:DSET_CD ;
        dt:COLL.item [
            hl7:coding [ dt:CDCoding.code "2186-5" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.238" ;
                         dt:CDCoding.displayName "Not Hispanic or Latino" ; dt:CDCoding.codeSystemName "CDC Race and Ethnicity" ]
        ]    
    ] ;

.
_:ClinicalDoc_recordTarget0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    

# Performer Henry Seven , 1002 Healthcare DrBeaverton, OR 97005, US
# DOC
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DOC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:ClinicalDoc ;
    rim:ActRelationship.target _:ClinicalDoc_entryRelationship0
] .
_:ClinicalDoc_entryRelationship0 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-02-18"^^xsd:date ;
    rim:Act.effectiveTime-high "2013-02-18"^^xsd:date ;
.
# Performer Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "PRF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:ClinicalDoc_entryRelationship0 ;
    rim:Participation.role _:ClinicalDoc_entryRelationship0_performer0
] .
_:ClinicalDoc_entryRelationship0_performer0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Role.player _:ClinicalDoc_entryRelationship0_performer0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ] ] ;
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;
        err:country "US" ;
    ] ;
.
_:ClinicalDoc_entryRelationship0_performer0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-given "Henry" ] ;
        dt:COLL.item [ err:person-name-family "Seven" ] ;
    ];
 ;

 ;


.


# AuthorNextGen Admin, NEXTGEN Medical Practice (Horsham)
# Contact info1002 Healthcare DrBeaverton, OR 97005Tel:  +1-5555551009
# Author
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "AUT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:ClinicalDoc ;
    rim:Participation.role _:ClinicalDoc_author0
] .
_:ClinicalDoc_author0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:ClinicalDoc_author0_player ;
    rim:Role.scoper _:ClinicalDoc_author0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "mailto:Dscott@nextgen.com" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;
        err:country "" ;
    ] ;
.
_:ClinicalDoc_author0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Admin" ] ;
        dt:COLL.item [ err:person-name-given "NextGen" ] ;
    ];
 ;

 ;


.
_:ClinicalDoc_author0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    

# Signed NextGen Admin at ,  
# Contact info1002 Healthcare DrBeaverton, OR 97005Tel:  +1-5555551009
# Authenticator Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "AUTHEN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:ClinicalDoc ;
    rim:Participation.role _:ClinicalDoc_authenticator0
] .
_:ClinicalDoc_authenticator0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:ClinicalDoc_authenticator0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:ClinicalDoc_authenticator0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-given "NextGen" ] ;
        dt:COLL.item [ err:person-name-family "Admin" ] ;
    ];
 ;

 ;


.


# InformantNextGen Admin of NEXTGEN Medical Practice (Horsham)
# Contact info1002 Healthcare DrBeaverton, OR 97005Tel:  +1-5555551009
# Author
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "AUT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:ClinicalDoc ;
    rim:Participation.role _:ClinicalDoc_author0
] .
_:ClinicalDoc_author0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:ClinicalDoc_author0_player ;
    rim:Role.scoper _:ClinicalDoc_author0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "mailto:Dscott@nextgen.com" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;
        err:country "" ;
    ] ;
.
_:ClinicalDoc_author0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Admin" ] ;
        dt:COLL.item [ err:person-name-given "NextGen" ] ;
    ];
 ;

 ;


.
_:ClinicalDoc_author0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    

# Legal authenticatorNextGen Admin of NEXTGEN Medical Practice (Horsham) signed at February 18, 2013, 03:10:00, EST 
# Contact info1002 Healthcare DrBeaverton, OR 97005Tel:  +1-5555551009
# LegalAuthenticator Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "LA" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:ClinicalDoc ;
    rim:Participation.role _:ClinicalDoc_legalAuthenticator0
] .
_:ClinicalDoc_legalAuthenticator0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:ClinicalDoc_legalAuthenticator0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:ClinicalDoc_legalAuthenticator0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-given "NextGen" ] ;
        dt:COLL.item [ err:person-name-family "Admin" ] ;
    ];
 ;

 ;


.


# Document maintained byNEXTGEN Medical Practice (Horsham)
# Contact info795 Horsham RoadHorsham, PA 19044, USTel:  +1-2156577010
# Custodian
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CST" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:ClinicalDoc ;
    rim:Participation.role _:ClinicalDoc_custodian0
] .
_:ClinicalDoc_custodian0 a rim:Role ;

    rim:Role.player _:ClinicalDoc_custodian0_player ;
    rim:Role.scoper _:ClinicalDoc_custodian0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:ClinicalDoc_custodian0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;
        err:country "US" ;
    ] ;


.
    
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:ClinicalDoc ;
    rim:ActRelationship.target _:structuredBody
] .
_:structuredBody a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
.

[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section0
] .
_:section0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Alerts" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48765-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ALLERGIES, ADVERSE REACTIONS, ALERTS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Allergies, Adverse Reactions, Alerts
	  
	  
	  
	  
	  
	  
	    
	      
    # Allergy Problem Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct0
] .
_:section0_allergyProblemAct0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "69724b9d-5e77-402f-a5b6-3379dde3e8a9" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "active" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48765-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ALLERGIES, ADVERSE REACTIONS, ALERTS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct0_entryRelationship0
] .
_:section0_allergyProblemAct0_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "69724b9d-5e77-402f-a5b6-3379dde3e8a9" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "ASSERTION" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "HL7ActCode" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "416098002" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "drug allergy" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# Participant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section0_allergyProblemAct0_entryRelationship0 ;
    rim:Participation.role _:section0_allergyProblemAct0_entryRelationship0_participant0
] .
_:section0_allergyProblemAct0_entryRelationship0_participant0 a rim:Role ;

    rim:Role.player _:section0_allergyProblemAct0_entryRelationship0_participant0_player ;
    rim:Role.scoper _:section0_allergyProblemAct0_entryRelationship0_participant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ROL" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section0_allergyProblemAct0_entryRelationship0_participant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
    ];
 ;

 ;


.

# MFST
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct0_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct0_entryRelationship0_entryRelationship0
] .
_:section0_allergyProblemAct0_entryRelationship0_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "69724b9d-5e77-402f-a5b6-3379dde3e8a9" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "ASSERTION" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "HL7ActCode" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct0_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct0_entryRelationship0_entryRelationship1
] .
_:section0_allergyProblemAct0_entryRelationship0_entryRelationship1 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "33999-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STATUS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "55561003" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "active" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct0_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct0_entryRelationship0_entryRelationship2
] .
_:section0_allergyProblemAct0_entryRelationship0_entryRelationship2 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Allergy Problem Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct1
] .
_:section0_allergyProblemAct1 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "062e50f2-9185-4821-a8eb-af22722d1f8e" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "active" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48765-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ALLERGIES, ADVERSE REACTIONS, ALERTS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct1 ;
    rim:ActRelationship.target _:section0_allergyProblemAct1_entryRelationship0
] .
_:section0_allergyProblemAct1_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "062e50f2-9185-4821-a8eb-af22722d1f8e" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "ASSERTION" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "HL7ActCode" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "416098002" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "drug allergy" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# Participant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section0_allergyProblemAct1_entryRelationship0 ;
    rim:Participation.role _:section0_allergyProblemAct1_entryRelationship0_participant0
] .
_:section0_allergyProblemAct1_entryRelationship0_participant0 a rim:Role ;

    rim:Role.player _:section0_allergyProblemAct1_entryRelationship0_participant0_player ;
    rim:Role.scoper _:section0_allergyProblemAct1_entryRelationship0_participant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ROL" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section0_allergyProblemAct1_entryRelationship0_participant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
    ];
 ;

 ;


.

# MFST
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct1_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct1_entryRelationship0_entryRelationship0
] .
_:section0_allergyProblemAct1_entryRelationship0_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "062e50f2-9185-4821-a8eb-af22722d1f8e" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "ASSERTION" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "HL7ActCode" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct1_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct1_entryRelationship0_entryRelationship1
] .
_:section0_allergyProblemAct1_entryRelationship0_entryRelationship1 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "33999-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STATUS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "55561003" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "active" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct1_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct1_entryRelationship0_entryRelationship2
] .
_:section0_allergyProblemAct1_entryRelationship0_entryRelationship2 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Allergy Problem Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct2
] .
_:section0_allergyProblemAct2 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "a2176310-7c0d-4f55-bf46-ff59010a380d" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "active" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48765-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ALLERGIES, ADVERSE REACTIONS, ALERTS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct2 ;
    rim:ActRelationship.target _:section0_allergyProblemAct2_entryRelationship0
] .
_:section0_allergyProblemAct2_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "a2176310-7c0d-4f55-bf46-ff59010a380d" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "ASSERTION" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "HL7ActCode" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "416098002" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "drug allergy" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# Participant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section0_allergyProblemAct2_entryRelationship0 ;
    rim:Participation.role _:section0_allergyProblemAct2_entryRelationship0_participant0
] .
_:section0_allergyProblemAct2_entryRelationship0_participant0 a rim:Role ;

    rim:Role.player _:section0_allergyProblemAct2_entryRelationship0_participant0_player ;
    rim:Role.scoper _:section0_allergyProblemAct2_entryRelationship0_participant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ROL" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section0_allergyProblemAct2_entryRelationship0_participant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
    ];
 ;

 ;


.

# MFST
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct2_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct2_entryRelationship0_entryRelationship0
] .
_:section0_allergyProblemAct2_entryRelationship0_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "a2176310-7c0d-4f55-bf46-ff59010a380d" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "ASSERTION" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "HL7ActCode" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct2_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct2_entryRelationship0_entryRelationship1
] .
_:section0_allergyProblemAct2_entryRelationship0_entryRelationship1 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "33999-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STATUS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "55561003" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "active" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section0_allergyProblemAct2_entryRelationship0 ;
    rim:ActRelationship.target _:section0_allergyProblemAct2_entryRelationship0_entryRelationship2
] .
_:section0_allergyProblemAct2_entryRelationship0_entryRelationship2 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section1
] .
_:section1 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Medications" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "10160-0" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "HISTORY OF MEDICATION USE" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Medications
	    
	    
	    
	    
	    
	    
	      
    # Medication Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1 ;
    rim:ActRelationship.target _:section1_medicationActivity0
] .
_:section1_medicationActivity0 a rim:SubstanceAdministration ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "d71fb70d-2667-4059-9f13-ed333992e426" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-02-12"^^xsd:date ;
    rim:Act.effectiveTime-error """<effectiveTime institutionSpecified="true" operator="A" xsi:type="PIVL_TS">
		  <period value="24" unit="h"></period>
		</effectiveTime>""" ;
    rim:Act.statusCode "completed" ;
  
;
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ;
        dt:PQ.unit [ a dt:CS ;
            hl7:coding [ dt:CDCoding.code "tablet" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.8" ;
                         dt:codeSystemName "UCUM" ; dt:CDCoding.valueSet "2.16.840.1.113883.1.11.12839" ]
        ] ;
    dt:PQ.value [ a dt:REAL ; dt:value "1.00" ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity0 ;
    rim:Participation.role _:section1_medicationActivity0_consumable0
] .
_:section1_medicationActivity0_consumable0 a rim:Role ;

    rim:Role.player _:section1_medicationActivity0_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section1_medicationActivity0_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "866924" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.88" ;
                     dt:CDCoding.displayName "Metoprolol Tartrate 25 MG Oral Tablet" ; dt:CDCoding.codeSystemName "RxNorm" ]
    ];
    rim:Entity.name [ a dt:COLL_EN ; dt:COLL.item [ err:name "METOPROLOL TARTRATE" ] ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization ""

.


# Assigned Informant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "INF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity0 ;
    rim:Participation.role _:section1_medicationActivity0_informant0
] .
_:section1_medicationActivity0_informant0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:section1_medicationActivity0_informant0_player ;
    rim:Role.scoper _:section1_medicationActivity0_informant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-6158686465" ; dt:TEL.use "PG" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "fax:+1-Getwell" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "mailto:Dscott@nextgen.com" ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:section1_medicationActivity0_informant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Getwell" ] ;
        dt:COLL.item [ err:person-name-given "James" ] ;
    ];
 ;

 ;


.
_:section1_medicationActivity0_informant0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1_medicationActivity0 ;
    rim:ActRelationship.target _:section1_medicationActivity0_entryRelationship0
] .
_:section1_medicationActivity0_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Medication Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1 ;
    rim:ActRelationship.target _:section1_medicationActivity1
] .
_:section1_medicationActivity1 a rim:SubstanceAdministration ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "7796a356-e9c6-4905-9a3e-60d261fc2a59" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
;
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ; # unknown units 
        dt:PQ.value [
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                         dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
        ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity1 ;
    rim:Participation.role _:section1_medicationActivity1_consumable0
] .
_:section1_medicationActivity1_consumable0 a rim:Role ;

    rim:Role.player _:section1_medicationActivity1_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section1_medicationActivity1_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "197517" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.88" ;
                     dt:CDCoding.displayName "Clarithromycin 500 MG Oral Tablet" ; dt:CDCoding.codeSystemName "RxNorm" ]
    ];
    rim:Entity.name [ a dt:COLL_EN ; dt:COLL.item [ err:name "CLARITHROMYCIN" ] ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization ""

.


# Assigned Informant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "INF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity1 ;
    rim:Participation.role _:section1_medicationActivity1_informant0
] .
_:section1_medicationActivity1_informant0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:section1_medicationActivity1_informant0_player ;
    rim:Role.scoper _:section1_medicationActivity1_informant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-6158686465" ; dt:TEL.use "PG" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "fax:+1-Getwell" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "mailto:Dscott@nextgen.com" ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:section1_medicationActivity1_informant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Getwell" ] ;
        dt:COLL.item [ err:person-name-given "James" ] ;
    ];
 ;

 ;


.
_:section1_medicationActivity1_informant0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1_medicationActivity1 ;
    rim:ActRelationship.target _:section1_medicationActivity1_entryRelationship0
] .
_:section1_medicationActivity1_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Medication Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1 ;
    rim:ActRelationship.target _:section1_medicationActivity2
] .
_:section1_medicationActivity2 a rim:SubstanceAdministration ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "48767ded-ace9-4803-b151-6f2e5ba899f9" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-04-02"^^xsd:date ;
    rim:Act.effectiveTime-high "2013-04-02"^^xsd:date ;
    rim:Act.effectiveTime-error """<effectiveTime institutionSpecified="false" operator="A" xsi:type="PIVL_TS">
		  <period value="4" unit="h"></period>
		</effectiveTime>""" ;
    rim:Act.statusCode "completed" ;
  
;
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ;
        dt:PQ.unit [ a dt:CS ;
            hl7:coding [ dt:CDCoding.code "puff" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.8" ;
                         dt:codeSystemName "UCUM" ; dt:CDCoding.valueSet "2.16.840.1.113883.1.11.12839" ]
        ] ;
    dt:PQ.value [ a dt:REAL ; dt:value "2.00" ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity2 ;
    rim:Participation.role _:section1_medicationActivity2_consumable0
] .
_:section1_medicationActivity2_consumable0 a rim:Role ;

    rim:Role.player _:section1_medicationActivity2_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section1_medicationActivity2_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "745679" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.88" ;
                     dt:CDCoding.displayName "200 ACTUAT Albuterol 0.09 MG/ACTUAT Metered Dose Inhaler" ; dt:CDCoding.codeSystemName "RxNorm" ]
    ];
    rim:Entity.name [ a dt:COLL_EN ; dt:COLL.item [ err:name "ALBUTEROL SULFATE HFA" ] ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization ""

.


# Assigned Informant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "INF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity2 ;
    rim:Participation.role _:section1_medicationActivity2_informant0
] .
_:section1_medicationActivity2_informant0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Role.player _:section1_medicationActivity2_informant0_player ;
    rim:Role.scoper _:section1_medicationActivity2_informant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551002" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "fax:+1-Seven" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:section1_medicationActivity2_informant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Seven" ] ;
        dt:COLL.item [ err:person-name-given "Henry" ] ;
    ];
 ;

 ;


.
_:section1_medicationActivity2_informant0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1_medicationActivity2 ;
    rim:ActRelationship.target _:section1_medicationActivity2_entryRelationship0
] .
_:section1_medicationActivity2_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Medication Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1 ;
    rim:ActRelationship.target _:section1_medicationActivity3
] .
_:section1_medicationActivity3 a rim:SubstanceAdministration ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "b2111894-1eed-4b94-b7f2-01b4fbe93284" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.effectiveTime-high "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
;
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ; # unknown units 
        dt:PQ.value [
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                         dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
        ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity3 ;
    rim:Participation.role _:section1_medicationActivity3_consumable0
] .
_:section1_medicationActivity3_consumable0 a rim:Role ;

    rim:Role.player _:section1_medicationActivity3_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section1_medicationActivity3_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "745679" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.88" ;
                     dt:CDCoding.displayName "200 ACTUAT Albuterol 0.09 MG/ACTUAT Metered Dose Inhaler" ; dt:CDCoding.codeSystemName "RxNorm" ]
    ];
    rim:Entity.name [ a dt:COLL_EN ; dt:COLL.item [ err:name "ALBUTEROL SULFATE HFA" ] ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization ""

.


# Assigned Informant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "INF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section1_medicationActivity3 ;
    rim:Participation.role _:section1_medicationActivity3_informant0
] .
_:section1_medicationActivity3_informant0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:section1_medicationActivity3_informant0_player ;
    rim:Role.scoper _:section1_medicationActivity3_informant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-6158686465" ; dt:TEL.use "PG" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "fax:+1-Getwell" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "mailto:Dscott@nextgen.com" ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:section1_medicationActivity3_informant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Getwell" ] ;
        dt:COLL.item [ err:person-name-given "James" ] ;
    ];
 ;

 ;


.
_:section1_medicationActivity3_informant0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    
# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1_medicationActivity3 ;
    rim:ActRelationship.target _:section1_medicationActivity3_entryRelationship0
] .
_:section1_medicationActivity3_entryRelationship0 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48767-8" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ANNOTATION COMMENT" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section1_medicationActivity3 ;
    rim:ActRelationship.target _:section1_medicationActivity3_entryRelationship1
] .
_:section1_medicationActivity3_entryRelationship1 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section2
] .
_:section2 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Problems" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "11450-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "PROBLEM LIST" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Problems
	    
	    
	    
	    
	    
	    
	      
    # Problem Concern Act (Condition)
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2 ;
    rim:ActRelationship.target _:section2_problemConcernAct0
] .
_:section2_problemConcernAct0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "active" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "CONC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ;
                     dt:CDCoding.codeSystemName "" ]
    ];
    rim:Observation.value [ 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2_problemConcernAct0 ;
    rim:ActRelationship.target _:section2_problemConcernAct0_entryRelationship0
] .
_:section2_problemConcernAct0_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "282291009" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2_problemConcernAct0_entryRelationship0 ;
    rim:ActRelationship.target _:section2_problemConcernAct0_entryRelationship0_entryRelationship0
] .
_:section2_problemConcernAct0_entryRelationship0_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Problem Concern Act (Condition)
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2 ;
    rim:ActRelationship.target _:section2_problemConcernAct1
] .
_:section2_problemConcernAct1 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "active" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "CONC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ;
                     dt:CDCoding.codeSystemName "" ]
    ];
    rim:Observation.value [ 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2_problemConcernAct1 ;
    rim:ActRelationship.target _:section2_problemConcernAct1_entryRelationship0
] .
_:section2_problemConcernAct1_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "282291009" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2_problemConcernAct1_entryRelationship0 ;
    rim:ActRelationship.target _:section2_problemConcernAct1_entryRelationship0_entryRelationship0
] .
_:section2_problemConcernAct1_entryRelationship0_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Problem Concern Act (Condition)
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2 ;
    rim:ActRelationship.target _:section2_problemConcernAct2
] .
_:section2_problemConcernAct2 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "active" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "CONC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ;
                     dt:CDCoding.codeSystemName "" ]
    ];
    rim:Observation.value [ 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2_problemConcernAct2 ;
    rim:ActRelationship.target _:section2_problemConcernAct2_entryRelationship0
] .
_:section2_problemConcernAct2_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "282291009" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section2_problemConcernAct2_entryRelationship0 ;
    rim:ActRelationship.target _:section2_problemConcernAct2_entryRelationship0_entryRelationship0
] .
_:section2_problemConcernAct2_entryRelationship0_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section3
] .
_:section3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Procedures" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "47519-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "HISTORY OF PROCEDURES" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Procedures
	    
	    
	    
	    
	    
	    
	      
    # Procedure Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure0
] .
_:section3_procedureActivityProcedure0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "8e4b2fcb-13e8-4ce6-8737-61c3c9c328ec" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "PROC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.effectiveTime-high "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].# COMP
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3_procedureActivityProcedure0 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure0_entryRelationship0
] .
_:section3_procedureActivityProcedure0_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Procedure Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure1
] .
_:section3_procedureActivityProcedure1 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "771cb6f6-4a87-47aa-9133-6e0d7a118a1e" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "PROC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.effectiveTime-high "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].# COMP
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3_procedureActivityProcedure1 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure1_entryRelationship0
] .
_:section3_procedureActivityProcedure1_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Procedure Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure2
] .
_:section3_procedureActivityProcedure2 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "00878d81-7e30-4f90-86fd-71009a878dec" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "PROC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.effectiveTime-high "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].# COMP
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3_procedureActivityProcedure2 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure2_entryRelationship0
] .
_:section3_procedureActivityProcedure2_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Procedure Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure3
] .
_:section3_procedureActivityProcedure3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "cc7d378e-35fc-46f9-8007-da0300174bb7" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "PROC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.effectiveTime-high "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].# COMP
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3_procedureActivityProcedure3 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure3_entryRelationship0
] .
_:section3_procedureActivityProcedure3_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Procedure Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure4
] .
_:section3_procedureActivityProcedure4 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "65704c23-2eae-4f35-989d-db02e68edbb8" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "PROC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.effectiveTime-high "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].# COMP
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section3_procedureActivityProcedure4 ;
    rim:ActRelationship.target _:section3_procedureActivityProcedure4_entryRelationship0
] .
_:section3_procedureActivityProcedure4_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section4
] .
_:section4 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Results" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "30954-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STUDIES SUMMARY" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Results
	    
	    
	    
	    
	    
	    
	      
    # Result Organizer
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section4 ;
    rim:ActRelationship.target _:section4_resultOrganizer0
] .
_:section4_resultOrganizer0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "BATTERY" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime nullFlavor="UNK"></effectiveTime>""" ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].


# organizer contents: {
# Result Observation
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section4_resultOrganizer0 ;
    rim:ActRelationship.target _:section4_resultOrganizer0_component0
] .
_:section4_resultOrganizer0_component0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime nullFlavor="UNK"></effectiveTime>""" ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:PQ.unit [ a dt:CS ;
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.8" ;
                         dt:codeSystemName "UCUM" ; dt:CDCoding.valueSet "2.16.840.1.113883.1.11.12839" ]
        ] ;
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .
# }
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section5
] .
_:section5 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "AdvanceDirectives" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "42348-3" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ADVANCE DIRECTIVES" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Advance Directives
	    
	    
	    
	    
	    
	    
	      
    # Advance Directive Observation

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section6
] .
_:section6 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Encounters" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "46240-8" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "HISTORY OF ENCOUNTERS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Encounters
	    
	    
	    
	    
	    
	    
	      
    # Encounter Activities
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6 ;
    rim:ActRelationship.target _:section6_encounterActivities0
] .
_:section6_encounterActivities0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.effectiveTime-high "2012-08-06"^^xsd:date ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].# Performer Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "PRF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section6_encounterActivities0 ;
    rim:Participation.role _:section6_encounterActivities0_performer0
] .
_:section6_encounterActivities0_performer0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "e163b5c3-83a9-4937-b0e4-ce773eb3f8e4" ]
    ] ;
    rim:Role.player _:section6_encounterActivities0_performer0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551002" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;
        err:country "" ;
    ] ;
.
_:section6_encounterActivities0_performer0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Seven" ] ;
        dt:COLL.item [ err:person-name-given "Henry" ] ;
        dt:COLL.item [ err:person-name-given "L" ] ;
    ];
 ;

 ;


.

# Participant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "LOC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section6_encounterActivities0 ;
    rim:Participation.role _:section6_encounterActivities0_participant0
] .
_:section6_encounterActivities0_participant0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "635dc59b-e421-4aeb-9cc8-11c36cf1d6ed" ]
    ] ;
    rim:Role.player _:section6_encounterActivities0_participant0_player ;
    rim:Role.scoper _:section6_encounterActivities0_participant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ROL" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ] ] ;
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:section6_encounterActivities0_participant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
    ];
 ;

 ;


.

# RSON
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6_encounterActivities0 ;
    rim:ActRelationship.target _:section6_encounterActivities0_entryRelationship0
] .
_:section6_encounterActivities0_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "409586006" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Complaint" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6_encounterActivities0 ;
    rim:ActRelationship.target _:section6_encounterActivities0_entryRelationship1
] .
_:section6_encounterActivities0_entryRelationship1 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "29308-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6_encounterActivities0_entryRelationship1 ;
    rim:ActRelationship.target _:section6_encounterActivities0_entryRelationship1_entryRelationship0
] .
_:section6_encounterActivities0_entryRelationship1_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "282291009" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6_encounterActivities0 ;
    rim:ActRelationship.target _:section6_encounterActivities0_entryRelationship2
] .
_:section6_encounterActivities0_entryRelationship2 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "29308-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6_encounterActivities0_entryRelationship2 ;
    rim:ActRelationship.target _:section6_encounterActivities0_entryRelationship2_entryRelationship0
] .
_:section6_encounterActivities0_entryRelationship2_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "282291009" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6_encounterActivities0 ;
    rim:ActRelationship.target _:section6_encounterActivities0_entryRelationship3
] .
_:section6_encounterActivities0_entryRelationship3 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "29308-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section6_encounterActivities0_entryRelationship3 ;
    rim:ActRelationship.target _:section6_encounterActivities0_entryRelationship3_entryRelationship0
] .
_:section6_encounterActivities0_entryRelationship3_entryRelationship0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-01-25"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "282291009" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Diagnosis" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
            dt:PQ.value [
                hl7:coding [ dt:CDCoding.code "OTH" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                             dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
            ] 
    ] .
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section7
] .
_:section7 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "FamilyHistory" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "10157-6" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "HISTORY OF FAMILY MEMBER DISEASES" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Family History
	    
	    
	    
	    
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section8
] .
_:section8 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Immunizations" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "11369-6" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "HISTORY OF IMMUNIZATIONS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Immunizations
	    
	    
	    
	    
	    
	    
	      
    # Immunization Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8 ;
    rim:ActRelationship.target _:section8_immunizationActivity0
] .
_:section8_immunizationActivity0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "45d0cab8-881c-43e5-84e6-450a16fed1b7" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "IMMUNIZ" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "ActCode" ]
    ];
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ; # unknown units 
        dt:PQ.value [
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                         dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
        ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity0 ;
    rim:Participation.role _:section8_immunizationActivity0_consumable0
] .
_:section8_immunizationActivity0_consumable0 a rim:Role ;

    rim:Role.player _:section8_immunizationActivity0_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section8_immunizationActivity0_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "33" ; dt:CDCoding.codeSystem "2.16.840.1.113883.12.292" ;
                     dt:CDCoding.displayName "Pneumo (2 yrs or older) (PPV23)" ; dt:CDCoding.codeSystemName "CVX" ]
    ];
    rim:ManufacturedMaterial.lotNumberText [ dt:ED.value "90390" ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization "GlaxoSmithKline"

.

# Performer Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "PRF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity0 ;
    rim:Participation.role _:section8_immunizationActivity0_performer0
] .
_:section8_immunizationActivity0_performer0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.401" ; dt:II.extension "f3fdfa1a-6d4b-4ecd-889b-fe6e7798425e" ]
    ] ;
    rim:Role.player _:section8_immunizationActivity0_performer0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ] ] ;
    rim:Role.addr [ a dt:COLL_AD ;

    ] ;
.
_:section8_immunizationActivity0_performer0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Villalon RN" ] ;
        dt:COLL.item [ err:person-name-given "May" ] ;
    ];
 ;

 ;


.

# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity0 ;
    rim:ActRelationship.target _:section8_immunizationActivity0_entryRelationship0
] .
_:section8_immunizationActivity0_entryRelationship0 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "30973-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "DOSE NUMBER" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
        dt:PQ.value [ a dt:REAL ; dt:value "999" ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity0 ;
    rim:ActRelationship.target _:section8_immunizationActivity0_entryRelationship1
] .
_:section8_immunizationActivity0_entryRelationship1 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48767-8" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ANNOTATION COMMENT" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity0 ;
    rim:ActRelationship.target _:section8_immunizationActivity0_entryRelationship2
] .
_:section8_immunizationActivity0_entryRelationship2 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "33999-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STATUS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "39252100" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "Prior History" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity0 ;
    rim:ActRelationship.target _:section8_immunizationActivity0_entryRelationship3
] .
_:section8_immunizationActivity0_entryRelationship3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Immunization Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8 ;
    rim:ActRelationship.target _:section8_immunizationActivity1
] .
_:section8_immunizationActivity1 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "51d80996-a587-492c-ada6-8b69299e222b" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2011-09-10"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "IMMUNIZ" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "ActCode" ]
    ];
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ; # unknown units 
        dt:PQ.value [
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                         dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
        ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity1 ;
    rim:Participation.role _:section8_immunizationActivity1_consumable0
] .
_:section8_immunizationActivity1_consumable0 a rim:Role ;

    rim:Role.player _:section8_immunizationActivity1_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section8_immunizationActivity1_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "88" ; dt:CDCoding.codeSystem "2.16.840.1.113883.12.292" ;
                     dt:CDCoding.displayName "Influenza Virus vaccine" ; dt:CDCoding.codeSystemName "CVX" ]
    ];
    rim:ManufacturedMaterial.lotNumberText [ dt:ED.value "839208" ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization "Vaccine Company"

.

# Performer Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "PRF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity1 ;
    rim:Participation.role _:section8_immunizationActivity1_performer0
] .
_:section8_immunizationActivity1_performer0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.401" ; dt:II.extension "f3fdfa1a-6d4b-4ecd-889b-fe6e7798425e" ]
    ] ;
    rim:Role.player _:section8_immunizationActivity1_performer0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ] ] ;
    rim:Role.addr [ a dt:COLL_AD ;

    ] ;
.
_:section8_immunizationActivity1_performer0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Villalon RN" ] ;
        dt:COLL.item [ err:person-name-given "May" ] ;
    ];
 ;

 ;


.

# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity1 ;
    rim:ActRelationship.target _:section8_immunizationActivity1_entryRelationship0
] .
_:section8_immunizationActivity1_entryRelationship0 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "30973-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "DOSE NUMBER" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
        dt:PQ.value [ a dt:REAL ; dt:value "999" ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity1 ;
    rim:ActRelationship.target _:section8_immunizationActivity1_entryRelationship1
] .
_:section8_immunizationActivity1_entryRelationship1 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48767-8" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ANNOTATION COMMENT" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity1 ;
    rim:ActRelationship.target _:section8_immunizationActivity1_entryRelationship2
] .
_:section8_immunizationActivity1_entryRelationship2 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "33999-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STATUS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "39252100" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "Prior History" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity1 ;
    rim:ActRelationship.target _:section8_immunizationActivity1_entryRelationship3
] .
_:section8_immunizationActivity1_entryRelationship3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Immunization Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8 ;
    rim:ActRelationship.target _:section8_immunizationActivity2
] .
_:section8_immunizationActivity2 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "73dd7cb8-2d2f-4380-92b7-a890db7d8661" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2010-11-01"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "IMMUNIZ" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "ActCode" ]
    ];
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ; # unknown units 
        dt:PQ.value [
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                         dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
        ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity2 ;
    rim:Participation.role _:section8_immunizationActivity2_consumable0
] .
_:section8_immunizationActivity2_consumable0 a rim:Role ;

    rim:Role.player _:section8_immunizationActivity2_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section8_immunizationActivity2_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "88" ; dt:CDCoding.codeSystem "2.16.840.1.113883.12.292" ;
                     dt:CDCoding.displayName "Influenza Virus vaccine" ; dt:CDCoding.codeSystemName "CVX" ]
    ];
    rim:ManufacturedMaterial.lotNumberText [ dt:ED.value "839208" ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization "Vaccine Company"

.

# Performer Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "PRF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity2 ;
    rim:Participation.role _:section8_immunizationActivity2_performer0
] .
_:section8_immunizationActivity2_performer0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.401" ; dt:II.extension "f3fdfa1a-6d4b-4ecd-889b-fe6e7798425e" ]
    ] ;
    rim:Role.player _:section8_immunizationActivity2_performer0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ] ] ;
    rim:Role.addr [ a dt:COLL_AD ;

    ] ;
.
_:section8_immunizationActivity2_performer0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Villalon RN" ] ;
        dt:COLL.item [ err:person-name-given "May" ] ;
    ];
 ;

 ;


.

# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity2 ;
    rim:ActRelationship.target _:section8_immunizationActivity2_entryRelationship0
] .
_:section8_immunizationActivity2_entryRelationship0 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "30973-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "DOSE NUMBER" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
        dt:PQ.value [ a dt:REAL ; dt:value "999" ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity2 ;
    rim:ActRelationship.target _:section8_immunizationActivity2_entryRelationship1
] .
_:section8_immunizationActivity2_entryRelationship1 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48767-8" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ANNOTATION COMMENT" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity2 ;
    rim:ActRelationship.target _:section8_immunizationActivity2_entryRelationship2
] .
_:section8_immunizationActivity2_entryRelationship2 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "33999-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STATUS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "39252100" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "Prior History" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity2 ;
    rim:ActRelationship.target _:section8_immunizationActivity2_entryRelationship3
] .
_:section8_immunizationActivity2_entryRelationship3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Immunization Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8 ;
    rim:ActRelationship.target _:section8_immunizationActivity3
] .
_:section8_immunizationActivity3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "ed5dd02a-a598-4b42-b344-8c84365b2380" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2007-01-04"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "IMMUNIZ" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "ActCode" ]
    ];
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ; # unknown units 
        dt:PQ.value [
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                         dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
        ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity3 ;
    rim:Participation.role _:section8_immunizationActivity3_consumable0
] .
_:section8_immunizationActivity3_consumable0 a rim:Role ;

    rim:Role.player _:section8_immunizationActivity3_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section8_immunizationActivity3_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "09" ; dt:CDCoding.codeSystem "2.16.840.1.113883.12.292" ;
                     dt:CDCoding.displayName "Td (7 yrs or older)" ; dt:CDCoding.codeSystemName "CVX" ]
    ];
    rim:ManufacturedMaterial.lotNumberText [ dt:ED.value "90289" ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization "GlaxoSmithKline"

.

# Performer Participation
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "PRF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section8_immunizationActivity3 ;
    rim:Participation.role _:section8_immunizationActivity3_performer0
] .
_:section8_immunizationActivity3_performer0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.401" ; dt:II.extension "f3fdfa1a-6d4b-4ecd-889b-fe6e7798425e" ]
    ] ;
    rim:Role.player _:section8_immunizationActivity3_performer0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ] ] ;
    rim:Role.addr [ a dt:COLL_AD ;

    ] ;
.
_:section8_immunizationActivity3_performer0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Villalon RN" ] ;
        dt:COLL.item [ err:person-name-given "May" ] ;
    ];
 ;

 ;


.

# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity3 ;
    rim:ActRelationship.target _:section8_immunizationActivity3_entryRelationship0
] .
_:section8_immunizationActivity3_entryRelationship0 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "30973-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "DOSE NUMBER" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
        dt:PQ.value [ a dt:REAL ; dt:value "999" ] 
    ] .# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity3 ;
    rim:ActRelationship.target _:section8_immunizationActivity3_entryRelationship1
] .
_:section8_immunizationActivity3_entryRelationship1 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48767-8" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ANNOTATION COMMENT" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity3 ;
    rim:ActRelationship.target _:section8_immunizationActivity3_entryRelationship2
] .
_:section8_immunizationActivity3_entryRelationship2 a rim:Observation ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "33999-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "STATUS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "39252100" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "Prior History" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section8_immunizationActivity3 ;
    rim:ActRelationship.target _:section8_immunizationActivity3_entryRelationship3
] .
_:section8_immunizationActivity3_entryRelationship3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section9
] .
_:section9 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Payer" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48768-6" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "PAYMENT SOURCES" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Payers
	    
	    
	    
	    
	    
	    
	      
      [ err:unmatchedText """
    <act classCode="ACT" moodCode="EVN">
		<id nullFlavor="UNK"></id>
		<code nullFlavor="UNK"></code>
	      </act>
      """ ] .
    
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section10
] .
_:section10 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "SocialHistory" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "29762-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "SOCIAL HISTORY" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Social History
	    
	    
	    
	    
	    
	    
	      
    # Smoking Status Observation
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section10 ;
    rim:ActRelationship.target _:section10_smokingStatusObservation0
] .
_:section10_smokingStatusObservation0 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "1992--"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "ASSERTION" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.4" ;
                     dt:CDCoding.codeSystemName "HL7ActCode" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:CD.code [ a dt:CD ;
            hl7:coding [ rim:CDCoding.code "449868002" ; rim:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                         rim:CDCoding.displayName "Current every day smoker" ; rim:CDCoding.codeSystemName "SNOMED CT" ]
        ]
    ] .
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section11
] .
_:section11 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "VitalSigns" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "8716-3" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "PHYSICAL FINDINGS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Vital Signs
	    
	    
	    
	    
	    
	    
	      
    # Vital Signs Organizer
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0
] .
_:section11_vitalSignsOrganizer0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "CLUSTER" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "46680005" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Vital signs" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ].


# organizer contents: {
# Vital Sign Observation
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component0
] .
_:section11_vitalSignsOrganizer0_component0 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "8302-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Body Height (Measured)" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:PQ.unit [ a dt:CS ;
            hl7:coding [ dt:CDCoding.code "[in_us]" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.8" ;
                         dt:codeSystemName "UCUM" ; dt:CDCoding.valueSet "2.16.840.1.113883.1.11.12839" ]
        ] ;
        dt:PQ.value [ a dt:REAL ; dt:value "69.69" ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component0 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component0_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component0_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component0 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component0_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component0_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

# Vital Sign Observation
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component1
] .
_:section11_vitalSignsOrganizer0_component1 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "3141-9" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Body Weight (Measured)" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:PQ.unit [ a dt:CS ;
            hl7:coding [ dt:CDCoding.code "[lb_av]" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.8" ;
                         dt:codeSystemName "UCUM" ; dt:CDCoding.valueSet "2.16.840.1.113883.1.11.12839" ]
        ] ;
        dt:PQ.value [ a dt:REAL ; dt:value "194.01" ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component1 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component1_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component1_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component1 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component1_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component1_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

# Vital Sign Observation
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component2
] .
_:section11_vitalSignsOrganizer0_component2 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "8480-6" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Intravascular Systolic" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:PQ.unit [ a dt:CS ;
            hl7:coding [ dt:CDCoding.code "mm[Hg]" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.8" ;
                         dt:codeSystemName "UCUM" ; dt:CDCoding.valueSet "2.16.840.1.113883.1.11.12839" ]
        ] ;
        dt:PQ.value [ a dt:REAL ; dt:value "135" ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component2 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component2_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component2_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component2 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component2_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component2_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

# Vital Sign Observation
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component3
] .
_:section11_vitalSignsOrganizer0_component3 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "8462-4" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Intravascular Diastolic" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ;
        dt:PQ.unit [ a dt:CS ;
            hl7:coding [ dt:CDCoding.code "mm[Hg]" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.8" ;
                         dt:codeSystemName "UCUM" ; dt:CDCoding.valueSet "2.16.840.1.113883.1.11.12839" ]
        ] ;
        dt:PQ.value [ a dt:REAL ; dt:value "92" ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component3 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component3_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component3_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component3 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component3_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component3_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

# Vital Sign Observation
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component4
] .
_:section11_vitalSignsOrganizer0_component4 a rim:Observation ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "OBS" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "39156-5" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "BMI (Body Mass Index)" ; dt:CDCoding.codeSystemName "LOINC" ]
    ];
    rim:Observation.value [ a dt:PQ ; # unknown units 
        dt:PQ.value [ a dt:REAL ; dt:value "28.08" ] 
    ] .# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component4 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component4_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component4_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section11_vitalSignsOrganizer0_component4 ;
    rim:ActRelationship.target _:section11_vitalSignsOrganizer0_component4_entryRelationship0
] .
_:section11_vitalSignsOrganizer0_component4_entryRelationship0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

# }
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section12
] .
_:section12 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "ReasonForVisit" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "29299-5" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "REASON FOR VISIT" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Reason For Visit
	    
	    
	    
	    
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section13
] .
_:section13 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "ReferralReason" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "42349-1" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "REASON FOR REFERRAL" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Reason For Referral
	    
	    
	    
	    
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section14
] .
_:section14 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "PlanOfCare" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "18776-5" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "TREATMENT PLAN" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Plan Of Care
	    
	    
	    
	    
	    
	    
	      
    # Plan of Care Activity Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_PlanOfCareActivityAct0
] .
_:section14_PlanOfCareActivityAct0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "8b413246-f47c-4a49-b654-c2313909d00e" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "RQO" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime>
		  <center value="20130212114100"></center>
		</effectiveTime>""" ;
    rim:Act.statusCode "" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Plan of Care Activity Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_PlanOfCareActivityAct1
] .
_:section14_PlanOfCareActivityAct1 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "b5de3dd6-6cd9-4736-9de7-c4b61309a01e" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "RQO" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime>
		  <center value="20130215102900"></center>
		</effectiveTime>""" ;
    rim:Act.statusCode "ordered" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "C0034927" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Patient referral" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ].

	    
	    
	      
    # Plan of Care Activity Encounter
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_planOfCareActivityEncounter2
] .
_:section14_planOfCareActivityEncounter2 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "a8dae350-f295-4c89-aa07-9dcc3c036444" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "INT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime>
		  <center value="20130220090000"></center>
		</effectiveTime>""" ;
    rim:Act.statusCode "active" ;
  
.

	    
	    
	      
    # Plan of Care Activity Encounter
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_planOfCareActivityEncounter3
] .
_:section14_planOfCareActivityEncounter3 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "0acb1c01-46c0-4d66-b010-bc1e2c9b02d8" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ENC" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "INT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime>
		  <center value="20130219081000"></center>
		</effectiveTime>""" ;
    rim:Act.statusCode "active" ;
  
.

	    
	    
	      
    # Instructions
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_instructions4
] .
_:section14_instructions4 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "00d14e5f-3776-4883-8dbd-7bd03e2443d0" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "INT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "311401005" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Patient Education" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ].

	    
	    
	      
    # Plan of Care Activity Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_PlanOfCareActivityAct5
] .
_:section14_PlanOfCareActivityAct5 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "af452bc7-440d-4932-8f91-4e49fefeca8c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "RQO" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime nullFlavor="UNK"></effectiveTime>""" ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Plan of Care Activity Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_PlanOfCareActivityAct6
] .
_:section14_PlanOfCareActivityAct6 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "045d121e-f408-4da3-ae3a-11d196af1891" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "RQO" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime nullFlavor="UNK"></effectiveTime>""" ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Plan of Care Activity Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_PlanOfCareActivityAct7
] .
_:section14_PlanOfCareActivityAct7 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "9b42a726-9699-441d-a0ec-1631a5f3dd60" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "RQO" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime nullFlavor="UNK"></effectiveTime>""" ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	    
	      
    # Plan of Care Activity Act
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section14 ;
    rim:ActRelationship.target _:section14_PlanOfCareActivityAct8
] .
_:section14_PlanOfCareActivityAct8 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "c2183bda-c9e3-4216-aa97-021614fcd787" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "RQO" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-error """<effectiveTime nullFlavor="UNK"></effectiveTime>""" ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section15
] .
_:section15 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "HistoryOfPresentIllness" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "10164-2" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "HISTORY OF PRESENT ILLNESS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# History Of Present Illness
	    
	    
	    
	    
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section16
] .
_:section16 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "FunctionalStatus" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "47420-5" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "Functional Status" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Functional Status
	    
	    
	    
	    
	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section17
] .
_:section17 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "CcdaMedicationsAdministered" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "29549-3" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "MEDICATION ADMINISTERED" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Medications Administered
	    
	    
	    
	    
	    
	    
	      
    # Medication Activity
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "DRIV" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section17 ;
    rim:ActRelationship.target _:section17_medicationActivity0
] .
_:section17_medicationActivity0 a rim:SubstanceAdministration ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "b2111894-1eed-4b94-b7f2-01b4fbe93284" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "SBADM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2012-08-06"^^xsd:date ;
    rim:Act.effectiveTime-high "2012-08-06"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
;
    rim:SubstanceAdministration.doseQuantity [ a dt:PQ ; # unknown units 
        dt:PQ.value [
            hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                         dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
        ] 
    ] .
# Consumable ManufacturedMaterial
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "CSM" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section17_medicationActivity0 ;
    rim:Participation.role _:section17_medicationActivity0_consumable0
] .
_:section17_medicationActivity0_consumable0 a rim:Role ;

    rim:Role.player _:section17_medicationActivity0_consumable0_player ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "MANU" ; dt:CDCoding.codeSystem "???" ] ] ;
.
_:section17_medicationActivity0_consumable0_player a rim:ManufacturedMaterial ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "MMAT" ; dt:CDCoding.codeSystem "???" ] ] ;
    # rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "???" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.code [
        hl7:coding [ dt:CDCoding.code "745679" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.88" ;
                     dt:CDCoding.displayName "200 ACTUAT Albuterol 0.09 MG/ACTUAT Metered Dose Inhaler" ; dt:CDCoding.codeSystemName "RxNorm" ]
    ];
    rim:Entity.name [ a dt:COLL_EN ; dt:COLL.item [ err:name "ALBUTEROL SULFATE HFA" ] ] ;
    # rim:ManufacturedMaterial.manufacturerOrganization ""

.


# Assigned Informant
[ a rim:Participation ;
    rim:Participation.typeCode [ hl7:coding [ dt:CDCoding.code "INF" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Participation.act _:section17_medicationActivity0 ;
    rim:Participation.role _:section17_medicationActivity0_informant0
] .
_:section17_medicationActivity0_informant0 a rim:Role ;
    rim:Role.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1104152198" ]
    ] ;
    rim:Role.player _:section17_medicationActivity0_informant0_player ;
    rim:Role.scoper _:section17_medicationActivity0_informant0_scoper ;
    rim:Role.classCode [ hl7:coding [ dt:CDCoding.code "ASSIGNED" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-5555551009" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-6158686465" ; dt:TEL.use "PG" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "fax:+1-Getwell" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "mailto:Dscott@nextgen.com" ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "1002 Healthcare Dr" ;
        err:city "Beaverton" ;
        err:state "OR" ;
        err:postalCode "97005" ;

    ] ;
.
_:section17_medicationActivity0_informant0_player a rim:Person ;
    rim:Entity.classCode [ hl7:coding [ dt:CDCoding.code "PSN" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.determinerCode [ hl7:coding [ dt:CDCoding.code "INSTANCE" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Entity.name [ a dt:COLL_EN ;
        dt:COLL.item [ err:person-name-family "Getwell" ] ;
        dt:COLL.item [ err:person-name-given "James" ] ;
    ];
 ;

 ;


.
_:section17_medicationActivity0_informant0_scoper a rim:Organization ;
    rim:Entity.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "0001" ];
        dt:COLL.item [ dt:II.root "2.16.840.1.113883.4.6" ; dt:II.extension "1234567893" ]
    ] ;
    rim:Entity.name [ a dt:COLL_EN ; ] ; dt:COLL.item [ err:name "NEXTGEN Medical Practice (Horsham)" ] ;
    rim:Entity.telecom [ a dt:COLL_TEL ; dt:COLL.item [ a dt:TEL ; dt:URL.address "tel:+1-2156577010" ; dt:TEL.use "WP" ;  ] ];
    rim:Role.addr [ a dt:COLL_AD ;
        err:streetAddressLine "795 Horsham Road" ;
        err:city "Horsham" ;
        err:state "PA" ;
        err:postalCode "19044" ;

    ] ;


.
    
# SUBJ
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section17_medicationActivity0 ;
    rim:ActRelationship.target _:section17_medicationActivity0_entryRelationship0
] .
_:section17_medicationActivity0_entryRelationship0 a rim:Act ;

    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "48767-8" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "ANNOTATION COMMENT" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].
# REFR
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "REFR" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section17_medicationActivity0 ;
    rim:ActRelationship.target _:section17_medicationActivity0_entryRelationship1
] .
_:section17_medicationActivity0_entryRelationship1 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "a778b36c-2a08-4f41-bc2a-3f29293c4e3c" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "UNK" ; dt:CDCoding.codeSystem "@@HL7 UNK code system" ;
                     dt:CDCoding.displayName "@@beats me" ; dt:CDCoding.codeSystemName "@@HL7" ]
    ].

	    
	  [ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "COMP" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:structuredBody ;
    rim:ActRelationship.target _:section18
] .
_:section18 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "Instructions" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.6" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "EVN" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "69730-0" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.1" ;
                     dt:CDCoding.displayName "INSTRUCTIONS" ; dt:CDCoding.codeSystemName "LOINC" ]
    ].

# Instructions
	    
	    
	    
	    
	    
	    
	      
    # Instructions
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section18 ;
    rim:ActRelationship.target _:section18_instructions0
] .
_:section18_instructions0 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "2601fd62-f0f4-454f-b72b-204bf612b6c6" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "INT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-02-12"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "423564006" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Provider Instructions for treatment" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ].

	    
	    
	      
    # Instructions
[ a rim:ActRelationship ;
    rim:ActRelationship.typeCode [ hl7:coding [ dt:CDCoding.code "" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:ActRelationship.source _:section18 ;
    rim:ActRelationship.target _:section18_instructions1
] .
_:section18_instructions1 a rim:Act ;
    rim:Act.id [ a dt:DSET_II ;
        dt:COLL.item [ dt:II.root "2.201" ; dt:II.extension "3830f4c6-b189-4cc1-b025-52af58dc717a" ]
    ] ;
    rim:Act.classCode [ hl7:coding [ dt:CDCoding.code "ACT" ; dt:CDCoding.codeSystem "???" ] ] ;
    rim:Act.moodCode [ hl7:coding [ dt:CDCoding.code "INT" ; dt:CDCoding.codeSystem "2.16.840.1.113883.5.1001" ] ] ;
    rim:Act.effectiveTime-low "2013-02-12"^^xsd:date ;
    rim:Act.statusCode "completed" ;
  
    rim:Act.code [
        hl7:coding [ dt:CDCoding.code "423564006" ; dt:CDCoding.codeSystem "2.16.840.1.113883.6.96" ;
                     dt:CDCoding.displayName "Provider Instructions for treatment" ; dt:CDCoding.codeSystemName "SNOMED CT" ]
    ].

	    
	  