From f4c54b668a763a1b552f78e96576cac55d8ae061 Mon Sep 17 00:00:00 2001 From: "James.Gilmore-A" Date: Tue, 31 Dec 2024 09:42:34 -0800 Subject: [PATCH 1/9] add hl7-to-fhir mapping for PD1 --- .../HL7/catchall/hl7/segments/PID/Patient.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml index 3dc555ef779..eb42034a68c 100644 --- a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml +++ b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml @@ -423,14 +423,21 @@ meta: expressionType: reference specs: PID.34 -generalPractitioner_Organization: - condition: $pd13 NOT_NULL +generalPractitioner: + expressionType: nested generateList: true - specs: PD1.3 * vars: pd13: STRING_ALL, PD1.3 - valueOf: datatypes/XON/Organization - expressionType: reference + pd14: STRING_ALL, PD1.4 + expressions: + - condition: $pd13 NOT_NULL + valueOf: datatypes/XON/Organization + expressionType: reference + specs: PD1.3 * + - condition: $pd14 NOT_NULL + valueOf: datatypes/XCN/Practitioner + expressionType: reference + specs: PD1.4 * extension: expressionType: nested From 13075a4c28a77eb1305136e80423f291a3202855 Mon Sep 17 00:00:00 2001 From: "James.Gilmore-A" Date: Tue, 31 Dec 2024 11:45:18 -0800 Subject: [PATCH 2/9] add fhir-to-hl7 mapping for pd1-4 --- .../metadata/hl7_mapping/resources/Patient/PD1.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml index 309aec4ce49..a2dbfccadaf 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml @@ -11,6 +11,13 @@ elements: constants: hl7XONField: '%{hl7PD1Field}-3(%{xonIndex})' + - name: patient-primary-provider + resource: '%resource.generalPractitioner.resolve().ofType(Practitioner)' + schema: classpath:/metadata/hl7_mapping/resources/Practitioner/XCN.yml + resourceIndex: xcnIndex + constants: + hl7XCNField: '%{hl7PD1Field}-4(%{xcnIndex})' + - name: student-indicator condition: '%context.extension(%`rsext-studentStatus`).exists()' resource: '%resource.extension(%`rsext-studentStatus`).value' From f3bb192f60b875e38cf319fc1166fdafda076ea4 Mon Sep 17 00:00:00 2001 From: jorge Lopez Date: Fri, 3 Jan 2025 11:00:07 -0800 Subject: [PATCH 3/9] added pd1.4 to catchall oml file --- .../datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 index baa36fced05..83332dc43aa 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 @@ -1,7 +1,7 @@ MSH|^~\&|OrderingFacilityApplicationName^2.16.840.1.114222.XXX^ISO|OrderingFacilityName^2.16.840.1.114222.XXX^ISO|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20190720091229|msh8placeholder|OML^O21^OML_O21|0123|P^A|2.5.1|42|msh14placeholder|AL|AL|FR|UNICODE UTF-8|ENG^English^ISO^altE^altEnglish^altISO^131^313^originaltext^2ndalt^Second Alt|UNICODE UTF-16|PHLabReport-NoAck^PHIN^2.16.840.1.113883.9.11^ISO~PHLabReport2x^PHIN^2.16.840.1.113883.9.11^ISO|Sending Responsible Org^1357-9&SomeText&LN&2468-5&SomeAltText&LN&1&2&OriginalText^1111^9^BCV^The Authority&4.2.8.2&ISO^BC^Clinic A&1.8.440.1.1138.9.22&ISO^NameRepCode1^OrgIdentifier2|Receiving Responsible Org^1133-5&SomeOtherText&LN&1298-7&SomeOtherAltText&LN&1&2&TheOriginalText^5555^8^CCTV^An Authority&45.24.167.43&ISO^BCVan^Clinic B&10.10.40.10.11380.90.22&ISO^NameRepCode2^OrgIdentifier3|SendingNetworkAddress^1.23.987.1.114222.XXX^ISO|ReceivingNetworkAddress^9.87.123.1.114222.XXX^ISO SFT|CDC^A&Alias Name&HL70204^789^Check Digit3^C3^CDC OML SFT&2.1.9.1&ISO^MD^Hospital C&2.16.8121.1.113883.9.11&ISO^A^CDC CLIA|ELIMS V11|STARLIMS|Binary ID unknown|testsft5data|20230802180802-0400 PID|1||Patidlist^forty^123^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^PI^STARLINKED.CDC.Stag&2.16.840.1.114222.9.8.7.6.3.2&ISO^20210113^20211230^IX&Ninth&HL7123^X&Tenth&HL7123~PID123^^^SPHL-000048&2.16.840.1.114222.4.1.10765&ISO^PI~test^^^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^PI^STARLINKED.CDC.Stag&2.16.840.1.114222.9.8.7.6.3.2&ISO||Mega&Mr&MrOwnMega&Mrs&MrsOwn^HL7^MI^V^DR^BCN^L^Naaame^C&Name Context&HL7444^Yes^G^19900503^20030503^Prof~Mega&Mr&MrOwnMega&Mrs&MrsOwn^HL7^MI^V^DR^BCN^L^Naaame^C&Name Context&HL7444^Yes^G^19900503^20030503^Prof|Mind^FHIR^WI^^^^L~Mind2x^FHIR^WI^^^^L|1640|F^Female^HL70001||2106-3^White^HL70005~2131-1^Other Race^HL70005|123 Main St^Altxad^AnyTown^IG^95802^USA^H^^Thurston County^^^2020&2024~1234 Main St^Address 2x^AnyTown^IG^95802^USA^H^^Thurston County^^^2020&2024||12345^PRS^CP^real@example.com^1^713^5553861^1^himom^^4^17145553862~12345^PRS^CP^notreal@example.com^1^714^5553861^1^himom^^4^17135553862|9865^EMR^SAT^alsoreal@exmaple.com^1^281^5553861|E^English^HL70296|P^Domestic Partnet^HL70002|AGN^Agnostic^HL70006|32|||maybe~maybe not|U^Uknown^HL70189~AU^Also Uknown^HL70189|Bayou|Y|11|USA^United States^HL70171~CAN^Canada^HL70171|NA^Not Applicable^HL70172|A^American^HL70212|2031|Y|N|AL^Alias^HL70445~UA^Unknown^HL70445|202408211138|RSDT^0.0.0.1.1138^ISO|D^Dog^HL70446|||RA^Racing^HL70429|N^None^HL70171~SN^Still None^HL70171|40~41 -PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier||F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 +PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier|1111111111^PD1.4NameFamily^PD1.4NameGiven^PD1.4NameInit^^^^^NPI^^^^NPI|F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 NTE|1|L|Just a little note on the patient~another little comment|||20210206|20210207|20210208|CC^Coded Patient note NTE|2|L|Accession level coment.|RE^Remark^HL70364^z^x^y^2.5.1^a^b|Bob R.N.|20230531|20230601|20350201|CC^Coded comment for patient note NK1|1|SURYAN&Prefix&Own&SpousePrefix&Spouse^GENARO^GR^JR^Sir^Md^L^I^CON&Context of the name&HL70448^2000&2030^G^20000501102531^2030501102531^Dr~SURYANS&Prefix&Own&SpousePrefix&Spouse^GENARO^GR^JR^Sir^Md^L^I^CON&Context of the name&HL70448^2000&2030^G^20000501102531^2030501102531^Dr|OTH^Other^HL70063^OT^OTHER RELATIONSHIP^L|4861 20TH AVE^^THUNDER MOUNTAIN^IG^99999^USA^H~4860 21ST AVE^^THUNDER MOUNTAIN^IG^99999^USA^H|^PRN^PH^example@exmaple.com^1^720^5553954^2^any^^^+1 720 555 3954~^PRN^PH^example2@exmaple.com^1^720^5553954^2^any^^^+1 720 555 3954|^WPN^PH^^1^555^4672293^^^^^+1 555 467 2293~^WPN^PH^^1^666^4672293^^^^^+1 666 467 2293|F^Federal Agency^HL70131|20220501102531-0400|20230501102531-0400|||052479^^^^^^20160822|HospitalsRUs^^112233^^^^^^^HRU~Hospitals 2.0^^112233^^^^^^^H20||N^Not Applicable^HL70001|19860505||||E^English^HL70296|||||||||||^WPN^PH^^1^720^5553954^^^^^+1 720 555 3954~^WPN^PH^^1^666^5553954^^^^^+1 666 555 3954|4861 20TH AVE^#B^AURORA^IG^99999^USA^H^World^King^12^8^2017&2025^2020^2021~4861 24TH AVE^#B^AURORA^IG^99999^USA^H^World^King^12^8^2017&2025^2020^2021|052479^^^^^^^20210428~052470^^^^^^^20210429|||||||^VHN^SAT^^1^314^5553131^^^^^+1 314 555 3131|^AWN^FX^^1^281^5558181^^^^^+1 281 555 8181 From 9e721dc2c67b7b157084a5ca30a3d5e769e64ebe Mon Sep 17 00:00:00 2001 From: Joel Biskie Date: Tue, 7 Jan 2025 16:59:19 -0600 Subject: [PATCH 4/9] Modify PD1-3 and PD1-4 mappings to allow repetitions, update expected FHIR for OML message --- .../HL7/catchall/hl7/segments/PID/Patient.yml | 2 + .../catchall/omlo21/oml_o21-full.fhir | 1334 +++++++++-------- 2 files changed, 710 insertions(+), 626 deletions(-) diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml index eb42034a68c..c3fd2608cae 100644 --- a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml +++ b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml @@ -434,10 +434,12 @@ generalPractitioner: valueOf: datatypes/XON/Organization expressionType: reference specs: PD1.3 * + generateList: true - condition: $pd14 NOT_NULL valueOf: datatypes/XCN/Practitioner expressionType: reference specs: PD1.4 * + generateList: true extension: expressionType: nested diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir index d24dfe4dad2..365111395c1 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir @@ -1,21 +1,21 @@ { "resourceType": "Bundle", - "id": "1732560946103663000.00c83475-61b1-4722-b571-392974c116e2", + "id": "1736278970002668325.5ef017a5-252a-4c5b-b98e-d808b6143876", "meta": { - "lastUpdated": "2024-11-25T13:55:46.115-05:00" + "lastUpdated": "2025-01-07T19:42:50.009+00:00" }, "identifier": { "system": "https://reportstream.cdc.gov/prime-router", "value": "0123" }, "type": "message", - "timestamp": "2019-07-20T09:12:29.000-04:00", + "timestamp": "2019-07-20T09:12:29.000+00:00", "entry": [ { - "fullUrl": "MessageHeader/1732560946205658000.d9f872a1-d8e0-4027-a6ff-0dd10709fdaa", + "fullUrl": "MessageHeader/1736278970175570505.dc733ece-d345-45b7-889c-c69547ce3fb7", "resource": { "resourceType": "MessageHeader", - "id": "1732560946205658000.d9f872a1-d8e0-4027-a6ff-0dd10709fdaa", + "id": "1736278970175570505.dc733ece-d345-45b7-889c-c69547ce3fb7", "meta": { "security": [ { @@ -208,7 +208,7 @@ "name": "txdshslabNBS", "endpoint": "urn:oid:2.16.840.1.114222.4.1.181960.2", "receiver": { - "reference": "Organization/1732560946198606000.5af9a2d6-b4b1-46ca-8549-a276f1770944" + "reference": "Organization/1736278970168433460.46c01afc-a5ca-4ffc-bf5c-1a7d9d1a3f7d" } }, { @@ -229,17 +229,17 @@ "name": "ReceivingNetworkAddress", "endpoint": "urn:oid:9.87.123.1.114222.XXX", "receiver": { - "reference": "Organization/1732560946201623000.fc8b853a-cce6-4662-abb3-cbbc902841f5" + "reference": "Organization/1736278970169765444.fc5003a7-7083-4fcf-90ec-7db51b545f9e" } }, { "receiver": { - "reference": "Organization/1732560946205362000.259d38b6-49a7-4764-add4-94f024ea3c67" + "reference": "Organization/1736278970175262704.de14e210-e7c2-417e-a2a1-07fd0ce17418" } } ], "sender": { - "reference": "Organization/1732560946168730000.5485c015-7831-4992-bc78-8c2eff3d4da9" + "reference": "Organization/1736278970106142218.bd756a97-ac70-40f5-8a65-0dc1e635d9c8" }, "source": { "extension": [ @@ -265,15 +265,15 @@ "endpoint": "urn:oid:2.16.840.1.114222.XXX" }, "responsible": { - "reference": "Organization/1732560946197609000.fd024ea0-f02b-43bf-8ad9-efaec4e623be" + "reference": "Organization/1736278970167143123.90cc09cb-ad0e-4098-a749-1617a8d097d2" } } }, { - "fullUrl": "Organization/1732560946168730000.5485c015-7831-4992-bc78-8c2eff3d4da9", + "fullUrl": "Organization/1736278970106142218.bd756a97-ac70-40f5-8a65-0dc1e635d9c8", "resource": { "resourceType": "Organization", - "id": "1732560946168730000.5485c015-7831-4992-bc78-8c2eff3d4da9", + "id": "1736278970106142218.bd756a97-ac70-40f5-8a65-0dc1e635d9c8", "identifier": [ { "extension": [ @@ -311,10 +311,10 @@ } }, { - "fullUrl": "Location/1732560946190626000.6ba520df-aae4-4f54-ba3c-d3a837243f5b", + "fullUrl": "Location/1736278970159337409.733072bb-b0f8-4062-aaa6-84b3fcf058b8", "resource": { "resourceType": "Location", - "id": "1732560946190626000.6ba520df-aae4-4f54-ba3c-d3a837243f5b", + "id": "1736278970159337409.733072bb-b0f8-4062-aaa6-84b3fcf058b8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -338,10 +338,10 @@ } }, { - "fullUrl": "Organization/1732560946197609000.fd024ea0-f02b-43bf-8ad9-efaec4e623be", + "fullUrl": "Organization/1736278970167143123.90cc09cb-ad0e-4098-a749-1617a8d097d2", "resource": { "resourceType": "Organization", - "id": "1732560946197609000.fd024ea0-f02b-43bf-8ad9-efaec4e623be", + "id": "1736278970167143123.90cc09cb-ad0e-4098-a749-1617a8d097d2", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -449,7 +449,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946190626000.6ba520df-aae4-4f54-ba3c-d3a837243f5b" + "reference": "Location/1736278970159337409.733072bb-b0f8-4062-aaa6-84b3fcf058b8" } } ], @@ -468,10 +468,10 @@ } }, { - "fullUrl": "Organization/1732560946198606000.5af9a2d6-b4b1-46ca-8549-a276f1770944", + "fullUrl": "Organization/1736278970168433460.46c01afc-a5ca-4ffc-bf5c-1a7d9d1a3f7d", "resource": { "resourceType": "Organization", - "id": "1732560946198606000.5af9a2d6-b4b1-46ca-8549-a276f1770944", + "id": "1736278970168433460.46c01afc-a5ca-4ffc-bf5c-1a7d9d1a3f7d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -510,10 +510,10 @@ } }, { - "fullUrl": "Organization/1732560946201623000.fc8b853a-cce6-4662-abb3-cbbc902841f5", + "fullUrl": "Organization/1736278970169765444.fc5003a7-7083-4fcf-90ec-7db51b545f9e", "resource": { "resourceType": "Organization", - "id": "1732560946201623000.fc8b853a-cce6-4662-abb3-cbbc902841f5", + "id": "1736278970169765444.fc5003a7-7083-4fcf-90ec-7db51b545f9e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -552,10 +552,10 @@ } }, { - "fullUrl": "Location/1732560946203403000.742d2718-8261-4ae3-95db-a1e2b4850513", + "fullUrl": "Location/1736278970172679904.70cbcd26-f02e-4751-9cfc-aad3167a4f8c", "resource": { "resourceType": "Location", - "id": "1732560946203403000.742d2718-8261-4ae3-95db-a1e2b4850513", + "id": "1736278970172679904.70cbcd26-f02e-4751-9cfc-aad3167a4f8c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -579,10 +579,10 @@ } }, { - "fullUrl": "Organization/1732560946205362000.259d38b6-49a7-4764-add4-94f024ea3c67", + "fullUrl": "Organization/1736278970175262704.de14e210-e7c2-417e-a2a1-07fd0ce17418", "resource": { "resourceType": "Organization", - "id": "1732560946205362000.259d38b6-49a7-4764-add4-94f024ea3c67", + "id": "1736278970175262704.de14e210-e7c2-417e-a2a1-07fd0ce17418", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -694,7 +694,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946203403000.742d2718-8261-4ae3-95db-a1e2b4850513" + "reference": "Location/1736278970172679904.70cbcd26-f02e-4751-9cfc-aad3167a4f8c" } } ], @@ -713,10 +713,10 @@ } }, { - "fullUrl": "Provenance/1732560946950155000.6a4d9d77-12e7-4c31-992b-ab9a588bf871", + "fullUrl": "Provenance/1736278970263657927.15dd4f04-fffc-4afc-9e6a-22176ea181a5", "resource": { "resourceType": "Provenance", - "id": "1732560946950155000.6a4d9d77-12e7-4c31-992b-ab9a588bf871", + "id": "1736278970263657927.15dd4f04-fffc-4afc-9e6a-22176ea181a5", "recorded": "2019-07-20T09:12:29Z", "activity": { "coding": [ @@ -736,7 +736,7 @@ ] }, "who": { - "reference": "Organization/1732560946949876000.eed26c8d-bc43-488b-abf4-7dbf519d040a" + "reference": "Organization/1736278970263383072.2623ca22-34a9-46a1-b29a-75a18e608d8d" } } ], @@ -744,17 +744,17 @@ { "role": "source", "what": { - "reference": "Device/1732560946956044000.478dcbef-ef28-460c-a0c9-5034ef9bcd78" + "reference": "Device/1736278970271594162.097314f0-ee48-4746-bdc1-8ef3be86da2b" } } ] } }, { - "fullUrl": "Location/1732560946948248000.bb3918f3-8c0b-4272-9f84-da2d16ca2100", + "fullUrl": "Location/1736278970262076643.906d4f5e-efa1-46f1-9fbf-7d8fa523fee6", "resource": { "resourceType": "Location", - "id": "1732560946948248000.bb3918f3-8c0b-4272-9f84-da2d16ca2100", + "id": "1736278970262076643.906d4f5e-efa1-46f1-9fbf-7d8fa523fee6", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -778,10 +778,10 @@ } }, { - "fullUrl": "Organization/1732560946949876000.eed26c8d-bc43-488b-abf4-7dbf519d040a", + "fullUrl": "Organization/1736278970263383072.2623ca22-34a9-46a1-b29a-75a18e608d8d", "resource": { "resourceType": "Organization", - "id": "1732560946949876000.eed26c8d-bc43-488b-abf4-7dbf519d040a", + "id": "1736278970263383072.2623ca22-34a9-46a1-b29a-75a18e608d8d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -889,7 +889,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946948248000.bb3918f3-8c0b-4272-9f84-da2d16ca2100" + "reference": "Location/1736278970262076643.906d4f5e-efa1-46f1-9fbf-7d8fa523fee6" } } ], @@ -908,10 +908,10 @@ } }, { - "fullUrl": "Location/1732560946954537000.2269571e-e826-4fe9-bb65-480d6ecdada8", + "fullUrl": "Location/1736278970269584656.b14b4ecf-febd-44e4-bc62-c654f9ebc807", "resource": { "resourceType": "Location", - "id": "1732560946954537000.2269571e-e826-4fe9-bb65-480d6ecdada8", + "id": "1736278970269584656.b14b4ecf-febd-44e4-bc62-c654f9ebc807", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -935,10 +935,10 @@ } }, { - "fullUrl": "Organization/1732560946955765000.cc7695af-f122-42eb-854b-4401e669da11", + "fullUrl": "Organization/1736278970271408751.c52edbe8-41cf-41cb-ba5a-763adeb77179", "resource": { "resourceType": "Organization", - "id": "1732560946955765000.cc7695af-f122-42eb-854b-4401e669da11", + "id": "1736278970271408751.c52edbe8-41cf-41cb-ba5a-763adeb77179", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -1026,7 +1026,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946954537000.2269571e-e826-4fe9-bb65-480d6ecdada8" + "reference": "Location/1736278970269584656.b14b4ecf-febd-44e4-bc62-c654f9ebc807" } } ], @@ -1045,15 +1045,15 @@ } }, { - "fullUrl": "Device/1732560946956044000.478dcbef-ef28-460c-a0c9-5034ef9bcd78", + "fullUrl": "Device/1736278970271594162.097314f0-ee48-4746-bdc1-8ef3be86da2b", "resource": { "resourceType": "Device", - "id": "1732560946956044000.478dcbef-ef28-460c-a0c9-5034ef9bcd78", + "id": "1736278970271594162.097314f0-ee48-4746-bdc1-8ef3be86da2b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org", "valueReference": { - "reference": "Organization/1732560946955765000.cc7695af-f122-42eb-854b-4401e669da11" + "reference": "Organization/1736278970271408751.c52edbe8-41cf-41cb-ba5a-763adeb77179" } } ], @@ -1092,11 +1092,11 @@ } }, { - "fullUrl": "Provenance/1732560946971375000.14423481-71a6-46d5-a500-0f60d1fb345b", + "fullUrl": "Provenance/1736278970300806815.0ead37c8-8aef-4b95-b9e2-5fe16df2344d", "resource": { "resourceType": "Provenance", - "id": "1732560946971375000.14423481-71a6-46d5-a500-0f60d1fb345b", - "recorded": "2024-11-25T13:55:46Z", + "id": "1736278970300806815.0ead37c8-8aef-4b95-b9e2-5fe16df2344d", + "recorded": "2025-01-07T19:42:50Z", "policy": [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], @@ -1118,17 +1118,17 @@ ] }, "who": { - "reference": "Organization/1732560946971002000.4116387f-caed-496f-a3c7-10c5a7217a34" + "reference": "Organization/1736278970300333440.837683ac-c2d5-4a2f-a4bd-7ef3bc30c884" } } ] } }, { - "fullUrl": "Organization/1732560946971002000.4116387f-caed-496f-a3c7-10c5a7217a34", + "fullUrl": "Organization/1736278970300333440.837683ac-c2d5-4a2f-a4bd-7ef3bc30c884", "resource": { "resourceType": "Organization", - "id": "1732560946971002000.4116387f-caed-496f-a3c7-10c5a7217a34", + "id": "1736278970300333440.837683ac-c2d5-4a2f-a4bd-7ef3bc30c884", "identifier": [ { "value": "CDC PRIME - Atlanta" @@ -1148,16 +1148,16 @@ } }, { - "fullUrl": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee", + "fullUrl": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466", "resource": { "resourceType": "Patient", - "id": "1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee", + "id": "1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466", "meta": { "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/last-updated-facility-namespace-id", "valueReference": { - "reference": "Organization/1732560947028683000.e8d76b91-dd13-4728-922a-841490e02430" + "reference": "Organization/1736278970371408102.2569713a-0a4e-45e0-98e0-8b63f80262e6" } } ], @@ -1313,7 +1313,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560946990177000.ea0532ae-f999-491a-9a49-1dd341ee36b9" + "reference": "Practitioner/1736278970317815308.b4676fb4-fadc-45a8-b5af-812adbe197cf" }, "time": "2023-05-31", "_time": { @@ -2208,7 +2208,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560947000285000.cad4e4e2-bae9-4adb-8b01-d7a6c6f10148" + "reference": "Organization/1736278970326211008.7b07c8bf-dc51-45c6-bd4d-4b22bbd065f1" } }, { @@ -2259,7 +2259,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560947001505000.8b598190-3017-4cf9-9909-495e77538013" + "reference": "Organization/1736278970327511604.9006c227-bbaf-4f60-a167-863567145c7b" } }, { @@ -2373,13 +2373,13 @@ { "url": "PD1.14", "valueReference": { - "reference": "Organization/1732560947004561000.e2b0f63b-e4ac-4731-9213-2982445eac53" + "reference": "Organization/1736278970330056244.56014e82-c702-4d14-9cdc-5d9dcffc1882" } }, { "url": "PD1.14", "valueReference": { - "reference": "Organization/1732560947006034000.092cb85f-9594-4697-85cd-fc3119b7430e" + "reference": "Organization/1736278970331457844.9e281b6b-8af6-47cc-b23c-be8af2f659a9" } }, { @@ -2810,7 +2810,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560946978236000.1a73fe05-85b2-4cfc-acd5-4e741a9211fd" + "reference": "Organization/1736278970309519775.b58d4e53-d254-418f-bbf5-fb68048749d3" } }, { @@ -2962,7 +2962,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560946981369000.8df5b7cc-7da6-4468-9161-c365e8b34d8a" + "reference": "Organization/1736278970312574245.cd6d27b3-047e-4273-a6ff-148fedbbd336" } }, { @@ -4202,7 +4202,7 @@ }, "gender": "unknown", "organization": { - "reference": "Organization/1732560947033318000.460ab4a3-da0f-4bec-a270-ae253a95d100" + "reference": "Organization/1736278970378525135.1af13059-e354-4398-a9ae-71b587857d20" }, "period": { "start": "2022-05-01T10:25:31-04:00", @@ -4250,22 +4250,25 @@ ], "generalPractitioner": [ { - "reference": "Organization/1732560946984073000.f6b31c9f-398c-40e1-8d29-dc1793f16cce" + "reference": "Organization/1736278970392813361.96e776b2-d509-414e-b875-72523a17e12f" }, { - "reference": "Organization/1732560946986249000.e2ca7f4b-09a9-4aec-b013-cd1a6c5f9d47" + "reference": "Organization/1736278970394435733.1fc0305a-1972-4f70-aa20-c375667a2e41" + }, + { + "reference": "Practitioner/1736278970395610035.c5c7fdca-1613-4238-bb5f-493447a0cae6" } ], "link": [ { "other": { - "reference": "RelatedPerson/1732560947019898000.8912d887-a4d5-4ce9-af9d-c04c12e6dcb0" + "reference": "RelatedPerson/1736278970348675664.44505e89-dd8a-41f1-b85e-5384b360ae2e" }, "type": "seealso" }, { "other": { - "reference": "RelatedPerson/1732560947020256000.43a42303-ede4-421c-b7c5-7ddf28da8827" + "reference": "RelatedPerson/1736278970349247263.b2d0fb3d-d721-4934-978a-46542bb28c21" }, "type": "seealso" } @@ -4273,10 +4276,10 @@ } }, { - "fullUrl": "Organization/1732560946978236000.1a73fe05-85b2-4cfc-acd5-4e741a9211fd", + "fullUrl": "Organization/1736278970309519775.b58d4e53-d254-418f-bbf5-fb68048749d3", "resource": { "resourceType": "Organization", - "id": "1732560946978236000.1a73fe05-85b2-4cfc-acd5-4e741a9211fd", + "id": "1736278970309519775.b58d4e53-d254-418f-bbf5-fb68048749d3", "identifier": [ { "extension": [ @@ -4309,10 +4312,10 @@ } }, { - "fullUrl": "Organization/1732560946981369000.8df5b7cc-7da6-4468-9161-c365e8b34d8a", + "fullUrl": "Organization/1736278970312574245.cd6d27b3-047e-4273-a6ff-148fedbbd336", "resource": { "resourceType": "Organization", - "id": "1732560946981369000.8df5b7cc-7da6-4468-9161-c365e8b34d8a", + "id": "1736278970312574245.cd6d27b3-047e-4273-a6ff-148fedbbd336", "identifier": [ { "extension": [ @@ -4345,10 +4348,94 @@ } }, { - "fullUrl": "Location/1732560946982710000.80cd8a74-be3f-485c-b9df-bd3e7b9b7008", + "fullUrl": "Practitioner/1736278970317815308.b4676fb4-fadc-45a8-b5af-812adbe197cf", + "resource": { + "resourceType": "Practitioner", + "id": "1736278970317815308.b4676fb4-fadc-45a8-b5af-812adbe197cf", + "identifier": [ + { + "value": "Bob R.N." + } + ] + } + }, + { + "fullUrl": "Organization/1736278970326211008.7b07c8bf-dc51-45c6-bd4d-4b22bbd065f1", + "resource": { + "resourceType": "Organization", + "id": "1736278970326211008.7b07c8bf-dc51-45c6-bd4d-4b22bbd065f1", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "University H" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.0" + } + ] + } + }, + { + "fullUrl": "Organization/1736278970327511604.9006c227-bbaf-4f60-a167-863567145c7b", + "resource": { + "resourceType": "Organization", + "id": "1736278970327511604.9006c227-bbaf-4f60-a167-863567145c7b", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "SSA" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.184" + } + ] + } + }, + { + "fullUrl": "Location/1736278970329278750.4ee95d87-0a23-4a4b-9922-563a42824ac9", "resource": { "resourceType": "Location", - "id": "1732560946982710000.80cd8a74-be3f-485c-b9df-bd3e7b9b7008", + "id": "1736278970329278750.4ee95d87-0a23-4a4b-9922-563a42824ac9", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4372,10 +4459,10 @@ } }, { - "fullUrl": "Organization/1732560946984073000.f6b31c9f-398c-40e1-8d29-dc1793f16cce", + "fullUrl": "Organization/1736278970330056244.56014e82-c702-4d14-9cdc-5d9dcffc1882", "resource": { "resourceType": "Organization", - "id": "1732560946984073000.f6b31c9f-398c-40e1-8d29-dc1793f16cce", + "id": "1736278970330056244.56014e82-c702-4d14-9cdc-5d9dcffc1882", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4447,7 +4534,7 @@ }, { "url": "XON.10", - "valueString": "OrgIdentifier" + "valueString": "1st OrgIdentifier" } ] } @@ -4483,7 +4570,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946982710000.80cd8a74-be3f-485c-b9df-bd3e7b9b7008" + "reference": "Location/1736278970329278750.4ee95d87-0a23-4a4b-9922-563a42824ac9" } } ], @@ -4495,17 +4582,17 @@ } ] }, - "value": "OrgIdentifier" + "value": "1st OrgIdentifier" } ], - "name": "Ordering Facility" + "name": "1st Ordering Facility" } }, { - "fullUrl": "Location/1732560946984997000.0d781aeb-6dad-466f-8e06-6ba588e902b8", + "fullUrl": "Location/1736278970330638187.9de2abc3-9f24-48d7-9741-37529a14a8e1", "resource": { "resourceType": "Location", - "id": "1732560946984997000.0d781aeb-6dad-466f-8e06-6ba588e902b8", + "id": "1736278970330638187.9de2abc3-9f24-48d7-9741-37529a14a8e1", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4529,10 +4616,10 @@ } }, { - "fullUrl": "Organization/1732560946986249000.e2ca7f4b-09a9-4aec-b013-cd1a6c5f9d47", + "fullUrl": "Organization/1736278970331457844.9e281b6b-8af6-47cc-b23c-be8af2f659a9", "resource": { "resourceType": "Organization", - "id": "1732560946986249000.e2ca7f4b-09a9-4aec-b013-cd1a6c5f9d47", + "id": "1736278970331457844.9e281b6b-8af6-47cc-b23c-be8af2f659a9", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4604,7 +4691,7 @@ }, { "url": "XON.10", - "valueString": "OrgIdentifier" + "valueString": "2nd OrgIdentifier" } ] } @@ -4640,7 +4727,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946984997000.0d781aeb-6dad-466f-8e06-6ba588e902b8" + "reference": "Location/1736278970330638187.9de2abc3-9f24-48d7-9741-37529a14a8e1" } } ], @@ -4652,29 +4739,41 @@ } ] }, - "value": "OrgIdentifier" + "value": "2nd OrgIdentifier" } ], - "name": "Ordering Facility" + "name": "2nd Ordering Facility" } }, { - "fullUrl": "Practitioner/1732560946990177000.ea0532ae-f999-491a-9a49-1dd341ee36b9", + "fullUrl": "RelatedPerson/1736278970348675664.44505e89-dd8a-41f1-b85e-5384b360ae2e", "resource": { - "resourceType": "Practitioner", - "id": "1732560946990177000.ea0532ae-f999-491a-9a49-1dd341ee36b9", + "resourceType": "RelatedPerson", + "id": "1736278970348675664.44505e89-dd8a-41f1-b85e-5384b360ae2e", "identifier": [ { - "value": "Bob R.N." + "value": "maybe" + } + ] + } + }, + { + "fullUrl": "RelatedPerson/1736278970349247263.b2d0fb3d-d721-4934-978a-46542bb28c21", + "resource": { + "resourceType": "RelatedPerson", + "id": "1736278970349247263.b2d0fb3d-d721-4934-978a-46542bb28c21", + "identifier": [ + { + "value": "maybe not" } ] } }, { - "fullUrl": "Organization/1732560947000285000.cad4e4e2-bae9-4adb-8b01-d7a6c6f10148", + "fullUrl": "Organization/1736278970371408102.2569713a-0a4e-45e0-98e0-8b63f80262e6", "resource": { "resourceType": "Organization", - "id": "1732560947000285000.cad4e4e2-bae9-4adb-8b01-d7a6c6f10148", + "id": "1736278970371408102.2569713a-0a4e-45e0-98e0-8b63f80262e6", "identifier": [ { "extension": [ @@ -4683,7 +4782,7 @@ "valueString": "HD.1" } ], - "value": "University H" + "value": "RSDT" }, { "extension": [ @@ -4701,52 +4800,163 @@ ] }, "system": "urn:ietf:rfc:3986", - "value": "2.16.840.1.113883.3.0" + "value": "0.0.0.1.1138" } ] } }, { - "fullUrl": "Organization/1732560947001505000.8b598190-3017-4cf9-9909-495e77538013", + "fullUrl": "Organization/1736278970378525135.1af13059-e354-4398-a9ae-71b587857d20", "resource": { "resourceType": "Organization", - "id": "1732560947001505000.8b598190-3017-4cf9-9909-495e77538013", - "identifier": [ + "id": "1736278970378525135.1af13059-e354-4398-a9ae-71b587857d20", + "extension": [ { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.1" + "url": "XON.3", + "valueString": "112233" + }, + { + "url": "XON.10", + "valueString": "HRU" } - ], - "value": "SSA" - }, + ] + } + ], + "identifier": [ { - "extension": [ + "value": "HRU" + } + ], + "name": "HospitalsRUs", + "contact": [ + { + "telecom": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.2,HD.3" + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-country", + "valueString": "1" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-area", + "valueString": "720" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-local", + "valueString": "5553954" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", + "extension": [ + { + "url": "XTN.2", + "valueString": "WPN" + }, + { + "url": "XTN.3", + "valueString": "PH" + }, + { + "url": "XTN.7", + "valueString": "5553954" + }, + { + "url": "XTN.12", + "valueString": "+1 720 555 3954" + } + ] + } + ], + "system": "phone", + "value": "+1 720 555 3954", + "use": "work" } ], - "type": { - "coding": [ + "address": { + "extension": [ { - "system": "http://terminology.hl7.org/CodeSystem/v2-0301", - "code": "ISO" + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", + "valueCode": "12" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "4861 20TH AVE" + } + ] + }, + { + "url": "XAD.2", + "valueString": "#B" + }, + { + "url": "XAD.7", + "valueCode": "H" + }, + { + "url": "XAD.8", + "valueString": "World" + }, + { + "url": "XAD.11", + "valueCode": "8" + }, + { + "url": "XAD.12", + "extension": [ + { + "url": "XAD.12.1", + "valueString": "2017" + }, + { + "url": "XAD.12.2", + "valueString": "2025" + } + ] + }, + { + "url": "XAD.13", + "valueString": "2020" + }, + { + "url": "XAD.14", + "valueString": "2021" + } + ] } - ] - }, - "system": "urn:ietf:rfc:3986", - "value": "2.16.840.1.113883.3.184" + ], + "use": "home", + "line": [ + "4861 20TH AVE", + "#B" + ], + "city": "AURORA", + "district": "King", + "state": "IG", + "postalCode": "99999", + "country": "USA", + "period": { + "start": "2020", + "end": "2021" + } + } } ] } }, { - "fullUrl": "Location/1732560947003406000.c4cab69c-62b5-42e4-816f-9d6ec0eea29c", + "fullUrl": "Location/1736278970391840331.41e51aba-2cf3-432f-bd15-86d217ad962f", "resource": { "resourceType": "Location", - "id": "1732560947003406000.c4cab69c-62b5-42e4-816f-9d6ec0eea29c", + "id": "1736278970391840331.41e51aba-2cf3-432f-bd15-86d217ad962f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4770,10 +4980,10 @@ } }, { - "fullUrl": "Organization/1732560947004561000.e2b0f63b-e4ac-4731-9213-2982445eac53", + "fullUrl": "Organization/1736278970392813361.96e776b2-d509-414e-b875-72523a17e12f", "resource": { "resourceType": "Organization", - "id": "1732560947004561000.e2b0f63b-e4ac-4731-9213-2982445eac53", + "id": "1736278970392813361.96e776b2-d509-414e-b875-72523a17e12f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4845,7 +5055,7 @@ }, { "url": "XON.10", - "valueString": "1st OrgIdentifier" + "valueString": "OrgIdentifier" } ] } @@ -4881,7 +5091,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947003406000.c4cab69c-62b5-42e4-816f-9d6ec0eea29c" + "reference": "Location/1736278970391840331.41e51aba-2cf3-432f-bd15-86d217ad962f" } } ], @@ -4893,17 +5103,17 @@ } ] }, - "value": "1st OrgIdentifier" + "value": "OrgIdentifier" } ], - "name": "1st Ordering Facility" + "name": "Ordering Facility" } }, { - "fullUrl": "Location/1732560947005240000.cfe9822d-c368-4536-a335-cef80cdf0cdd", + "fullUrl": "Location/1736278970393342599.99419b12-2c6b-44ea-8aa0-c66b3ae8afa9", "resource": { "resourceType": "Location", - "id": "1732560947005240000.cfe9822d-c368-4536-a335-cef80cdf0cdd", + "id": "1736278970393342599.99419b12-2c6b-44ea-8aa0-c66b3ae8afa9", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4927,10 +5137,10 @@ } }, { - "fullUrl": "Organization/1732560947006034000.092cb85f-9594-4697-85cd-fc3119b7430e", + "fullUrl": "Organization/1736278970394435733.1fc0305a-1972-4f70-aa20-c375667a2e41", "resource": { "resourceType": "Organization", - "id": "1732560947006034000.092cb85f-9594-4697-85cd-fc3119b7430e", + "id": "1736278970394435733.1fc0305a-1972-4f70-aa20-c375667a2e41", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -5002,7 +5212,7 @@ }, { "url": "XON.10", - "valueString": "2nd OrgIdentifier" + "valueString": "OrgIdentifier" } ] } @@ -5038,7 +5248,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947005240000.cfe9822d-c368-4536-a335-cef80cdf0cdd" + "reference": "Location/1736278970393342599.99419b12-2c6b-44ea-8aa0-c66b3ae8afa9" } } ], @@ -5050,41 +5260,17 @@ } ] }, - "value": "2nd OrgIdentifier" + "value": "OrgIdentifier" } ], - "name": "2nd Ordering Facility" - } - }, - { - "fullUrl": "RelatedPerson/1732560947019898000.8912d887-a4d5-4ce9-af9d-c04c12e6dcb0", - "resource": { - "resourceType": "RelatedPerson", - "id": "1732560947019898000.8912d887-a4d5-4ce9-af9d-c04c12e6dcb0", - "identifier": [ - { - "value": "maybe" - } - ] - } - }, - { - "fullUrl": "RelatedPerson/1732560947020256000.43a42303-ede4-421c-b7c5-7ddf28da8827", - "resource": { - "resourceType": "RelatedPerson", - "id": "1732560947020256000.43a42303-ede4-421c-b7c5-7ddf28da8827", - "identifier": [ - { - "value": "maybe not" - } - ] + "name": "Ordering Facility" } }, { - "fullUrl": "Organization/1732560947028683000.e8d76b91-dd13-4728-922a-841490e02430", + "fullUrl": "Organization/1736278970394767179.1b9f4d93-b5ea-4c2e-af16-419530fd91ad", "resource": { "resourceType": "Organization", - "id": "1732560947028683000.e8d76b91-dd13-4728-922a-841490e02430", + "id": "1736278970394767179.1b9f4d93-b5ea-4c2e-af16-419530fd91ad", "identifier": [ { "extension": [ @@ -5093,188 +5279,84 @@ "valueString": "HD.1" } ], - "value": "RSDT" - }, - { - "extension": [ - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.2,HD.3" - } - ], - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0301", - "code": "ISO" - } - ] - }, - "system": "urn:ietf:rfc:3986", - "value": "0.0.0.1.1138" + "value": "NPI" } ] } }, { - "fullUrl": "Organization/1732560947033318000.460ab4a3-da0f-4bec-a270-ae253a95d100", + "fullUrl": "Practitioner/1736278970395610035.c5c7fdca-1613-4238-bb5f-493447a0cae6", "resource": { - "resourceType": "Organization", - "id": "1732560947033318000.460ab4a3-da0f-4bec-a270-ae253a95d100", + "resourceType": "Practitioner", + "id": "1736278970395610035.c5c7fdca-1613-4238-bb5f-493447a0cae6", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", "extension": [ { - "url": "XON.3", - "valueString": "112233" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "PD1.4NameGiven" }, { - "url": "XON.10", - "valueString": "HRU" + "url": "XCN.4", + "valueString": "PD1.4NameInit" } ] } ], "identifier": [ { - "value": "HRU" - } - ], - "name": "HospitalsRUs", - "contact": [ - { - "telecom": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-country", - "valueString": "1" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-area", - "valueString": "720" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-local", - "valueString": "5553954" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", - "extension": [ - { - "url": "XTN.2", - "valueString": "WPN" - }, - { - "url": "XTN.3", - "valueString": "PH" - }, - { - "url": "XTN.7", - "valueString": "5553954" - }, - { - "url": "XTN.12", - "valueString": "+1 720 555 3954" - } - ] - } - ], - "system": "phone", - "value": "+1 720 555 3954", - "use": "work" - } - ], - "address": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", - "valueCode": "12" - }, + "type": { + "coding": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", - "extension": [ - { - "url": "SAD.1", - "valueString": "4861 20TH AVE" - } - ] - }, - { - "url": "XAD.2", - "valueString": "#B" - }, - { - "url": "XAD.7", - "valueCode": "H" - }, - { - "url": "XAD.8", - "valueString": "World" - }, - { - "url": "XAD.11", - "valueCode": "8" - }, - { - "url": "XAD.12", - "extension": [ - { - "url": "XAD.12.1", - "valueString": "2017" - }, - { - "url": "XAD.12.2", - "valueString": "2025" - } - ] - }, - { - "url": "XAD.13", - "valueString": "2020" - }, - { - "url": "XAD.14", - "valueString": "2021" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true } - ] + ], + "code": "NPI" } - ], - "use": "home", - "line": [ - "4861 20TH AVE", - "#B" - ], - "city": "AURORA", - "district": "King", - "state": "IG", - "postalCode": "99999", - "country": "USA", - "period": { - "start": "2020", - "end": "2021" - } + ] + }, + "value": "1111111111", + "assigner": { + "reference": "Organization/1736278970394767179.1b9f4d93-b5ea-4c2e-af16-419530fd91ad" } } + ], + "name": [ + { + "family": "PD1.4NameFamily", + "given": [ + "PD1.4NameGiven", + "PD1.4NameInit" + ] + } ] } }, { - "fullUrl": "Provenance/1732560947067669000.a71997f2-8202-4359-b2bc-87d0c35d7122", + "fullUrl": "Provenance/1736278970419715326.f8739357-8733-4015-af7e-75c3d33d9a38", "resource": { "resourceType": "Provenance", - "id": "1732560947067669000.a71997f2-8202-4359-b2bc-87d0c35d7122", + "id": "1736278970419715326.f8739357-8733-4015-af7e-75c3d33d9a38", "target": [ { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466" } ], "occurredDateTime": "2024-08-21T11:38:00Z", - "recorded": "2024-11-25T13:55:47Z", + "recorded": "2025-01-07T19:42:50Z", "activity": { "coding": [ { @@ -5294,17 +5376,17 @@ ] }, "who": { - "reference": "Organization/1732560947067347000.b0dfe50b-7dd5-4db3-bf94-2660507b9a6b" + "reference": "Organization/1736278970419269851.f2984f7c-9f5d-4d9a-b9e9-89884859b67a" } } ] } }, { - "fullUrl": "Organization/1732560947067347000.b0dfe50b-7dd5-4db3-bf94-2660507b9a6b", + "fullUrl": "Organization/1736278970419269851.f2984f7c-9f5d-4d9a-b9e9-89884859b67a", "resource": { "resourceType": "Organization", - "id": "1732560947067347000.b0dfe50b-7dd5-4db3-bf94-2660507b9a6b", + "id": "1736278970419269851.f2984f7c-9f5d-4d9a-b9e9-89884859b67a", "identifier": [ { "extension": [ @@ -5337,10 +5419,10 @@ } }, { - "fullUrl": "RelatedPerson/1732560947078273000.c258bc9d-a81e-4489-ac7b-b42f17bdcdff", + "fullUrl": "RelatedPerson/1736278970432017526.f44fe1f8-d774-42cd-b4f0-5ffd4586d98f", "resource": { "resourceType": "RelatedPerson", - "id": "1732560947078273000.c258bc9d-a81e-4489-ac7b-b42f17bdcdff", + "id": "1736278970432017526.f44fe1f8-d774-42cd-b4f0-5ffd4586d98f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -5352,13 +5434,13 @@ { "url": "NK1.13", "valueReference": { - "reference": "Organization/1732560947070415000.fd05515b-a14d-4605-9a55-af19963cbadb" + "reference": "Organization/1736278970422537260.0f0a13dd-1ae5-47d0-99cb-0a41b1078746" } }, { "url": "NK1.13", "valueReference": { - "reference": "Organization/1732560947070704000.d32971c4-235f-4c2a-8d99-c34b900850bb" + "reference": "Organization/1736278970423080126.9a544ecb-540a-4872-b7ad-3209e009b294" } }, { @@ -5431,7 +5513,7 @@ } ], "patient": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466" }, "relationship": [ { @@ -6432,10 +6514,10 @@ } }, { - "fullUrl": "Organization/1732560947070415000.fd05515b-a14d-4605-9a55-af19963cbadb", + "fullUrl": "Organization/1736278970422537260.0f0a13dd-1ae5-47d0-99cb-0a41b1078746", "resource": { "resourceType": "Organization", - "id": "1732560947070415000.fd05515b-a14d-4605-9a55-af19963cbadb", + "id": "1736278970422537260.0f0a13dd-1ae5-47d0-99cb-0a41b1078746", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -6460,10 +6542,10 @@ } }, { - "fullUrl": "Organization/1732560947070704000.d32971c4-235f-4c2a-8d99-c34b900850bb", + "fullUrl": "Organization/1736278970423080126.9a544ecb-540a-4872-b7ad-3209e009b294", "resource": { "resourceType": "Organization", - "id": "1732560947070704000.d32971c4-235f-4c2a-8d99-c34b900850bb", + "id": "1736278970423080126.9a544ecb-540a-4872-b7ad-3209e009b294", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -6488,10 +6570,10 @@ } }, { - "fullUrl": "RelatedPerson/1732560947085287000.b3d57f6d-c29b-43d4-b611-3aca9fda506d", + "fullUrl": "RelatedPerson/1736278970440345953.6859730a-8637-474b-8237-148dfed9b2b4", "resource": { "resourceType": "RelatedPerson", - "id": "1732560947085287000.b3d57f6d-c29b-43d4-b611-3aca9fda506d", + "id": "1736278970440345953.6859730a-8637-474b-8237-148dfed9b2b4", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -6503,7 +6585,7 @@ { "url": "NK1.13", "valueReference": { - "reference": "Organization/1732560947080448000.2021f8f7-23b2-4192-8a52-590089b9a188" + "reference": "Organization/1736278970434485532.07ab1a14-7b6f-4bcd-95fb-fc0afce928f2" } }, { @@ -6556,7 +6638,7 @@ } ], "patient": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466" }, "relationship": [ { @@ -7172,10 +7254,10 @@ } }, { - "fullUrl": "Organization/1732560947080448000.2021f8f7-23b2-4192-8a52-590089b9a188", + "fullUrl": "Organization/1736278970434485532.07ab1a14-7b6f-4bcd-95fb-fc0afce928f2", "resource": { "resourceType": "Organization", - "id": "1732560947080448000.2021f8f7-23b2-4192-8a52-590089b9a188", + "id": "1736278970434485532.07ab1a14-7b6f-4bcd-95fb-fc0afce928f2", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -7200,10 +7282,10 @@ } }, { - "fullUrl": "Encounter/1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e", + "fullUrl": "Encounter/1736278970475926613.7595d3ef-5e2a-48ba-a09f-c65735f3acb8", "resource": { "resourceType": "Encounter", - "id": "1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e", + "id": "1736278970475926613.7595d3ef-5e2a-48ba-a09f-c65735f3acb8", "meta": { "security": [ { @@ -7218,7 +7300,7 @@ "valueString": "Description" } ], - "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eDescription\u003c/div\u003e" + "div": "
Description
" }, "extension": [ { @@ -7542,13 +7624,13 @@ { "url": "PV2.23", "valueReference": { - "reference": "Organization/1732560947096488000.785ac0b2-17f6-4b0f-872e-660e5f53c4a6" + "reference": "Organization/1736278970451128156.4dc43cbf-4e0d-4b5e-b835-6578f37d4be0" } }, { "url": "PV2.23", "valueReference": { - "reference": "Organization/1732560947097902000.0904e746-7f9b-4641-b50d-ef3642d27ac9" + "reference": "Organization/1736278970452498942.b6cc4837-3c2b-4b3b-97fc-2530bcea370a" } }, { @@ -7679,11 +7761,11 @@ ] }, "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466" }, "episodeOfCare": [ { - "reference": "EpisodeOfCare/1732560947117362000.9b75561a-8224-4fc9-9030-8370b84d42ee" + "reference": "EpisodeOfCare/1736278970476527073.dafc7e4e-66fe-4d5b-b7f4-3d5e1f14d578" } ], "participant": [ @@ -7700,7 +7782,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947101401000.31ca3069-9607-43d3-ba15-b05ee95726db" + "reference": "Practitioner/1736278970456744409.6eb14c81-7dbd-49f8-818e-9c740afed52f" } }, { @@ -7716,7 +7798,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947102328000.9ac2c5de-59a3-4ebf-b36a-f5b33070ffb8" + "reference": "Practitioner/1736278970457887692.f3bc618c-c78b-4ea9-8f6f-7961baafd478" } }, { @@ -7732,7 +7814,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947102919000.46c5e45b-5bbf-4cc9-9edb-beaf8d35f18a" + "reference": "Practitioner/1736278970458646796.d2a7e6ec-312d-46c8-8b16-f43e4010e306" } }, { @@ -7748,7 +7830,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947103509000.f2c8d8c3-4604-435b-8204-e550b5598002" + "reference": "Practitioner/1736278970459392205.22899cd0-0913-457d-ac03-f7708ca23308" } }, { @@ -7764,7 +7846,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947104221000.4c197e78-08a6-4fab-9ea2-f9de06488294" + "reference": "Practitioner/1736278970460143945.99d57f5b-3d91-4ef5-9591-a5871b971b4f" } }, { @@ -7780,7 +7862,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947104860000.43f59350-cc0d-4485-a034-63e0fe31fa0c" + "reference": "Practitioner/1736278970460869931.65c28c94-e2e8-444e-a439-4b2428fed4d3" } }, { @@ -7796,7 +7878,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947105422000.f8e05326-ac6e-4f82-8da1-33210f1eeb70" + "reference": "Practitioner/1736278970461613083.744bf7e1-cdad-4370-8d71-e3a98c70b07c" } }, { @@ -7812,7 +7894,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947105965000.902547cf-9532-4523-b705-9b6d3b013092" + "reference": "Practitioner/1736278970462327185.e0684625-79d2-4c1d-875b-5f3e28c28fb8" } }, { @@ -7828,7 +7910,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947108468000.8804a57c-53bc-4061-92cd-f6255e3a984c" + "reference": "Practitioner/1736278970465396025.0ac3dc78-ffb8-4099-935c-6eea317efa5f" } }, { @@ -7844,7 +7926,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947110860000.0fe20340-4918-4319-a79f-79582e0678b8" + "reference": "Practitioner/1736278970468389047.d9727286-4c39-47b0-87dc-34ca61a34cda" } } ], @@ -7977,7 +8059,7 @@ } ], "destination": { - "reference": "Location/1732560947098491000.f1158a39-67bc-4de0-a7b5-451b9e15dd2f" + "reference": "Location/1736278970453347807.fc73d5da-b68e-41ef-b9b8-add6bb8a5f71" }, "dischargeDisposition": { "coding": [ @@ -8007,7 +8089,7 @@ } ], "location": { - "reference": "Location/1732560947113843000.69b30a21-c4ce-4fc7-a0b3-485f8ffbdf37" + "reference": "Location/1736278970472058062.261eff0f-5c67-4cdd-b3b6-620374dc345e" }, "status": "active" }, @@ -8019,7 +8101,7 @@ } ], "location": { - "reference": "Location/1732560947114854000.8fb3eb16-f138-4c7b-99de-034230a291d0" + "reference": "Location/1736278970473377502.92e056bf-1295-46d7-95b2-db9c680d2464" }, "status": "completed" }, @@ -8035,7 +8117,7 @@ } ], "location": { - "reference": "Location/1732560947115174000.e3d61a25-d515-4e08-84c4-9650eb2b5fdd" + "reference": "Location/1736278970473835828.b724f01c-8d5e-4d3d-a4b4-139f27b81367" }, "status": "active" }, @@ -8047,7 +8129,7 @@ } ], "location": { - "reference": "Location/1732560947115496000.3c37c486-0bde-47de-9279-7d781ea92acd" + "reference": "Location/1736278970474197937.148cdd36-3557-40fb-bb5e-f1a6ced16991" }, "status": "planned" }, @@ -8063,7 +8145,7 @@ } ], "location": { - "reference": "Location/1732560947115807000.7073bf4f-0083-4388-b8f1-1082a1584772" + "reference": "Location/1736278970474584774.ea273357-d567-4c75-818c-c0a3f5e6fe38" }, "status": "completed" }, @@ -8079,7 +8161,7 @@ } ], "location": { - "reference": "Location/1732560947116718000.05d1c715-158f-473c-90ae-c89df79005e7" + "reference": "Location/1736278970475762934.b2f6bd68-8a14-4265-9f1b-1d6f14e3c5ea" }, "status": "planned" } @@ -8087,10 +8169,10 @@ } }, { - "fullUrl": "Location/1732560947095713000.10b2dfdb-eae6-4703-a3fe-b5ee56ac1330", + "fullUrl": "Location/1736278970450309269.bff74ae0-bbe6-4919-b3ac-a7169a6c9a24", "resource": { "resourceType": "Location", - "id": "1732560947095713000.10b2dfdb-eae6-4703-a3fe-b5ee56ac1330", + "id": "1736278970450309269.bff74ae0-bbe6-4919-b3ac-a7169a6c9a24", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -8114,10 +8196,10 @@ } }, { - "fullUrl": "Organization/1732560947096488000.785ac0b2-17f6-4b0f-872e-660e5f53c4a6", + "fullUrl": "Organization/1736278970451128156.4dc43cbf-4e0d-4b5e-b835-6578f37d4be0", "resource": { "resourceType": "Organization", - "id": "1732560947096488000.785ac0b2-17f6-4b0f-872e-660e5f53c4a6", + "id": "1736278970451128156.4dc43cbf-4e0d-4b5e-b835-6578f37d4be0", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -8217,7 +8299,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947095713000.10b2dfdb-eae6-4703-a3fe-b5ee56ac1330" + "reference": "Location/1736278970450309269.bff74ae0-bbe6-4919-b3ac-a7169a6c9a24" } } ], @@ -8236,10 +8318,10 @@ } }, { - "fullUrl": "Location/1732560947097075000.893658cf-04c0-44c7-90fc-9c1965fb9dca", + "fullUrl": "Location/1736278970451713417.2fcefc39-4282-4cbb-abdf-0ec3da3436c6", "resource": { "resourceType": "Location", - "id": "1732560947097075000.893658cf-04c0-44c7-90fc-9c1965fb9dca", + "id": "1736278970451713417.2fcefc39-4282-4cbb-abdf-0ec3da3436c6", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -8263,10 +8345,10 @@ } }, { - "fullUrl": "Organization/1732560947097902000.0904e746-7f9b-4641-b50d-ef3642d27ac9", + "fullUrl": "Organization/1736278970452498942.b6cc4837-3c2b-4b3b-97fc-2530bcea370a", "resource": { "resourceType": "Organization", - "id": "1732560947097902000.0904e746-7f9b-4641-b50d-ef3642d27ac9", + "id": "1736278970452498942.b6cc4837-3c2b-4b3b-97fc-2530bcea370a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -8366,7 +8448,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947097075000.893658cf-04c0-44c7-90fc-9c1965fb9dca" + "reference": "Location/1736278970451713417.2fcefc39-4282-4cbb-abdf-0ec3da3436c6" } } ], @@ -8385,10 +8467,10 @@ } }, { - "fullUrl": "Location/1732560947098491000.f1158a39-67bc-4de0-a7b5-451b9e15dd2f", + "fullUrl": "Location/1736278970453347807.fc73d5da-b68e-41ef-b9b8-add6bb8a5f71", "resource": { "resourceType": "Location", - "id": "1732560947098491000.f1158a39-67bc-4de0-a7b5-451b9e15dd2f", + "id": "1736278970453347807.fc73d5da-b68e-41ef-b9b8-add6bb8a5f71", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/dld2-effective-date", @@ -8398,10 +8480,10 @@ } }, { - "fullUrl": "Practitioner/1732560947101401000.31ca3069-9607-43d3-ba15-b05ee95726db", + "fullUrl": "Practitioner/1736278970456744409.6eb14c81-7dbd-49f8-818e-9c740afed52f", "resource": { "resourceType": "Practitioner", - "id": "1732560947101401000.31ca3069-9607-43d3-ba15-b05ee95726db", + "id": "1736278970456744409.6eb14c81-7dbd-49f8-818e-9c740afed52f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8494,10 +8576,10 @@ } }, { - "fullUrl": "Practitioner/1732560947102328000.9ac2c5de-59a3-4ebf-b36a-f5b33070ffb8", + "fullUrl": "Practitioner/1736278970457887692.f3bc618c-c78b-4ea9-8f6f-7961baafd478", "resource": { "resourceType": "Practitioner", - "id": "1732560947102328000.9ac2c5de-59a3-4ebf-b36a-f5b33070ffb8", + "id": "1736278970457887692.f3bc618c-c78b-4ea9-8f6f-7961baafd478", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8590,10 +8672,10 @@ } }, { - "fullUrl": "Practitioner/1732560947102919000.46c5e45b-5bbf-4cc9-9edb-beaf8d35f18a", + "fullUrl": "Practitioner/1736278970458646796.d2a7e6ec-312d-46c8-8b16-f43e4010e306", "resource": { "resourceType": "Practitioner", - "id": "1732560947102919000.46c5e45b-5bbf-4cc9-9edb-beaf8d35f18a", + "id": "1736278970458646796.d2a7e6ec-312d-46c8-8b16-f43e4010e306", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8613,10 +8695,10 @@ } }, { - "fullUrl": "Practitioner/1732560947103509000.f2c8d8c3-4604-435b-8204-e550b5598002", + "fullUrl": "Practitioner/1736278970459392205.22899cd0-0913-457d-ac03-f7708ca23308", "resource": { "resourceType": "Practitioner", - "id": "1732560947103509000.f2c8d8c3-4604-435b-8204-e550b5598002", + "id": "1736278970459392205.22899cd0-0913-457d-ac03-f7708ca23308", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8636,10 +8718,10 @@ } }, { - "fullUrl": "Practitioner/1732560947104221000.4c197e78-08a6-4fab-9ea2-f9de06488294", + "fullUrl": "Practitioner/1736278970460143945.99d57f5b-3d91-4ef5-9591-a5871b971b4f", "resource": { "resourceType": "Practitioner", - "id": "1732560947104221000.4c197e78-08a6-4fab-9ea2-f9de06488294", + "id": "1736278970460143945.99d57f5b-3d91-4ef5-9591-a5871b971b4f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8659,10 +8741,10 @@ } }, { - "fullUrl": "Practitioner/1732560947104860000.43f59350-cc0d-4485-a034-63e0fe31fa0c", + "fullUrl": "Practitioner/1736278970460869931.65c28c94-e2e8-444e-a439-4b2428fed4d3", "resource": { "resourceType": "Practitioner", - "id": "1732560947104860000.43f59350-cc0d-4485-a034-63e0fe31fa0c", + "id": "1736278970460869931.65c28c94-e2e8-444e-a439-4b2428fed4d3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8682,10 +8764,10 @@ } }, { - "fullUrl": "Practitioner/1732560947105422000.f8e05326-ac6e-4f82-8da1-33210f1eeb70", + "fullUrl": "Practitioner/1736278970461613083.744bf7e1-cdad-4370-8d71-e3a98c70b07c", "resource": { "resourceType": "Practitioner", - "id": "1732560947105422000.f8e05326-ac6e-4f82-8da1-33210f1eeb70", + "id": "1736278970461613083.744bf7e1-cdad-4370-8d71-e3a98c70b07c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8705,10 +8787,10 @@ } }, { - "fullUrl": "Practitioner/1732560947105965000.902547cf-9532-4523-b705-9b6d3b013092", + "fullUrl": "Practitioner/1736278970462327185.e0684625-79d2-4c1d-875b-5f3e28c28fb8", "resource": { "resourceType": "Practitioner", - "id": "1732560947105965000.902547cf-9532-4523-b705-9b6d3b013092", + "id": "1736278970462327185.e0684625-79d2-4c1d-875b-5f3e28c28fb8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8728,10 +8810,10 @@ } }, { - "fullUrl": "Practitioner/1732560947108468000.8804a57c-53bc-4061-92cd-f6255e3a984c", + "fullUrl": "Practitioner/1736278970465396025.0ac3dc78-ffb8-4099-935c-6eea317efa5f", "resource": { "resourceType": "Practitioner", - "id": "1732560947108468000.8804a57c-53bc-4061-92cd-f6255e3a984c", + "id": "1736278970465396025.0ac3dc78-ffb8-4099-935c-6eea317efa5f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8939,10 +9021,10 @@ } }, { - "fullUrl": "Practitioner/1732560947110860000.0fe20340-4918-4319-a79f-79582e0678b8", + "fullUrl": "Practitioner/1736278970468389047.d9727286-4c39-47b0-87dc-34ca61a34cda", "resource": { "resourceType": "Practitioner", - "id": "1732560947110860000.0fe20340-4918-4319-a79f-79582e0678b8", + "id": "1736278970468389047.d9727286-4c39-47b0-87dc-34ca61a34cda", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -9150,10 +9232,10 @@ } }, { - "fullUrl": "Organization/1732560947111430000.94aae298-0670-4c92-9b55-07e2b204bbe6", + "fullUrl": "Organization/1736278970469355020.435ed707-c633-4ab2-98a0-2bf53e1cf13c", "resource": { "resourceType": "Organization", - "id": "1732560947111430000.94aae298-0670-4c92-9b55-07e2b204bbe6", + "id": "1736278970469355020.435ed707-c633-4ab2-98a0-2bf53e1cf13c", "identifier": [ { "extension": [ @@ -9186,10 +9268,10 @@ } }, { - "fullUrl": "Location/1732560947113006000.f1399e9c-b308-41f3-99fe-813d35e491b5", + "fullUrl": "Location/1736278970471229559.e457b657-adbb-4055-ae18-560c29ecea96", "resource": { "resourceType": "Location", - "id": "1732560947113006000.f1399e9c-b308-41f3-99fe-813d35e491b5", + "id": "1736278970471229559.e457b657-adbb-4055-ae18-560c29ecea96", "identifier": [ { "extension": [ @@ -9234,10 +9316,10 @@ } }, { - "fullUrl": "Location/1732560947113103000.5484952c-beb2-4586-9b6e-ea591bd7e31b", + "fullUrl": "Location/1736278970471382706.9850ce6a-c8b3-4755-86a7-3f8a2987c355", "resource": { "resourceType": "Location", - "id": "1732560947113103000.5484952c-beb2-4586-9b6e-ea591bd7e31b", + "id": "1736278970471382706.9850ce6a-c8b3-4755-86a7-3f8a2987c355", "identifier": [ { "extension": [ @@ -9266,15 +9348,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113006000.f1399e9c-b308-41f3-99fe-813d35e491b5" + "reference": "Location/1736278970471229559.e457b657-adbb-4055-ae18-560c29ecea96" } } }, { - "fullUrl": "Location/1732560947113244000.acad36a0-0546-48f2-859b-faa1c4b233e4", + "fullUrl": "Location/1736278970471512667.6e19b352-eb66-4d84-b2a3-84dba4869e8d", "resource": { "resourceType": "Location", - "id": "1732560947113244000.acad36a0-0546-48f2-859b-faa1c4b233e4", + "id": "1736278970471512667.6e19b352-eb66-4d84-b2a3-84dba4869e8d", "identifier": [ { "extension": [ @@ -9303,15 +9385,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113103000.5484952c-beb2-4586-9b6e-ea591bd7e31b" + "reference": "Location/1736278970471382706.9850ce6a-c8b3-4755-86a7-3f8a2987c355" } } }, { - "fullUrl": "Location/1732560947113385000.c43a9b50-f6a0-4036-8d4c-587fa7f4d07d", + "fullUrl": "Location/1736278970471644059.1ba29557-2629-449f-87de-db5d77ba2d66", "resource": { "resourceType": "Location", - "id": "1732560947113385000.c43a9b50-f6a0-4036-8d4c-587fa7f4d07d", + "id": "1736278970471644059.1ba29557-2629-449f-87de-db5d77ba2d66", "identifier": [ { "extension": [ @@ -9361,15 +9443,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113244000.acad36a0-0546-48f2-859b-faa1c4b233e4" + "reference": "Location/1736278970471512667.6e19b352-eb66-4d84-b2a3-84dba4869e8d" } } }, { - "fullUrl": "Location/1732560947113539000.5c4972fb-092f-4caa-a0bb-29d53a4f4bc0", + "fullUrl": "Location/1736278970471774135.d088c55a-0438-44fc-90cc-841d5268f8c0", "resource": { "resourceType": "Location", - "id": "1732560947113539000.5c4972fb-092f-4caa-a0bb-29d53a4f4bc0", + "id": "1736278970471774135.d088c55a-0438-44fc-90cc-841d5268f8c0", "identifier": [ { "extension": [ @@ -9412,15 +9494,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113385000.c43a9b50-f6a0-4036-8d4c-587fa7f4d07d" + "reference": "Location/1736278970471644059.1ba29557-2629-449f-87de-db5d77ba2d66" } } }, { - "fullUrl": "Location/1732560947113843000.69b30a21-c4ce-4fc7-a0b3-485f8ffbdf37", + "fullUrl": "Location/1736278970472058062.261eff0f-5c67-4cdd-b3b6-620374dc345e", "resource": { "resourceType": "Location", - "id": "1732560947113843000.69b30a21-c4ce-4fc7-a0b3-485f8ffbdf37", + "id": "1736278970472058062.261eff0f-5c67-4cdd-b3b6-620374dc345e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9472,7 +9554,7 @@ ], "value": "Comprehensive", "assigner": { - "reference": "Organization/1732560947111430000.94aae298-0670-4c92-9b55-07e2b204bbe6" + "reference": "Organization/1736278970469355020.435ed707-c633-4ab2-98a0-2bf53e1cf13c" } } ], @@ -9487,15 +9569,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113539000.5c4972fb-092f-4caa-a0bb-29d53a4f4bc0" + "reference": "Location/1736278970471774135.d088c55a-0438-44fc-90cc-841d5268f8c0" } } }, { - "fullUrl": "Organization/1732560947114313000.03edb821-2a38-4212-a897-a535db77468f", + "fullUrl": "Organization/1736278970472618523.c606058b-adcc-4bd9-8a4b-414e576e48ec", "resource": { "resourceType": "Organization", - "id": "1732560947114313000.03edb821-2a38-4212-a897-a535db77468f", + "id": "1736278970472618523.c606058b-adcc-4bd9-8a4b-414e576e48ec", "identifier": [ { "extension": [ @@ -9528,10 +9610,10 @@ } }, { - "fullUrl": "Location/1732560947114854000.8fb3eb16-f138-4c7b-99de-034230a291d0", + "fullUrl": "Location/1736278970473377502.92e056bf-1295-46d7-95b2-db9c680d2464", "resource": { "resourceType": "Location", - "id": "1732560947114854000.8fb3eb16-f138-4c7b-99de-034230a291d0", + "id": "1736278970473377502.92e056bf-1295-46d7-95b2-db9c680d2464", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9591,7 +9673,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1732560947114313000.03edb821-2a38-4212-a897-a535db77468f" + "reference": "Organization/1736278970472618523.c606058b-adcc-4bd9-8a4b-414e576e48ec" } } ], @@ -9609,37 +9691,37 @@ } }, { - "fullUrl": "Location/1732560947115174000.e3d61a25-d515-4e08-84c4-9650eb2b5fdd", + "fullUrl": "Location/1736278970473835828.b724f01c-8d5e-4d3d-a4b4-139f27b81367", "resource": { "resourceType": "Location", - "id": "1732560947115174000.e3d61a25-d515-4e08-84c4-9650eb2b5fdd", + "id": "1736278970473835828.b724f01c-8d5e-4d3d-a4b4-139f27b81367", "description": "Its Temporary", "mode": "instance" } }, { - "fullUrl": "Location/1732560947115496000.3c37c486-0bde-47de-9279-7d781ea92acd", + "fullUrl": "Location/1736278970474197937.148cdd36-3557-40fb-bb5e-f1a6ced16991", "resource": { "resourceType": "Location", - "id": "1732560947115496000.3c37c486-0bde-47de-9279-7d781ea92acd", + "id": "1736278970474197937.148cdd36-3557-40fb-bb5e-f1a6ced16991", "description": "Pending Location", "mode": "instance" } }, { - "fullUrl": "Location/1732560947115807000.7073bf4f-0083-4388-b8f1-1082a1584772", + "fullUrl": "Location/1736278970474584774.ea273357-d567-4c75-818c-c0a3f5e6fe38", "resource": { "resourceType": "Location", - "id": "1732560947115807000.7073bf4f-0083-4388-b8f1-1082a1584772", + "id": "1736278970474584774.ea273357-d567-4c75-818c-c0a3f5e6fe38", "description": "Prior Location", "mode": "instance" } }, { - "fullUrl": "Organization/1732560947116253000.9cdcc78d-f79f-465a-b746-c9158deedd71", + "fullUrl": "Organization/1736278970475131523.4917c691-362c-4524-a811-59ca80fc159f", "resource": { "resourceType": "Organization", - "id": "1732560947116253000.9cdcc78d-f79f-465a-b746-c9158deedd71", + "id": "1736278970475131523.4917c691-362c-4524-a811-59ca80fc159f", "identifier": [ { "extension": [ @@ -9672,10 +9754,10 @@ } }, { - "fullUrl": "Location/1732560947116718000.05d1c715-158f-473c-90ae-c89df79005e7", + "fullUrl": "Location/1736278970475762934.b2f6bd68-8a14-4265-9f1b-1d6f14e3c5ea", "resource": { "resourceType": "Location", - "id": "1732560947116718000.05d1c715-158f-473c-90ae-c89df79005e7", + "id": "1736278970475762934.b2f6bd68-8a14-4265-9f1b-1d6f14e3c5ea", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9735,7 +9817,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1732560947116253000.9cdcc78d-f79f-465a-b746-c9158deedd71" + "reference": "Organization/1736278970475131523.4917c691-362c-4524-a811-59ca80fc159f" } } ], @@ -9753,10 +9835,10 @@ } }, { - "fullUrl": "EpisodeOfCare/1732560947117362000.9b75561a-8224-4fc9-9030-8370b84d42ee", + "fullUrl": "EpisodeOfCare/1736278970476527073.dafc7e4e-66fe-4d5b-b7f4-3d5e1f14d578", "resource": { "resourceType": "EpisodeOfCare", - "id": "1732560947117362000.9b75561a-8224-4fc9-9030-8370b84d42ee", + "id": "1736278970476527073.dafc7e4e-66fe-4d5b-b7f4-3d5e1f14d578", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -9775,10 +9857,10 @@ } }, { - "fullUrl": "Observation/1732560947435581000.24cfd8df-b5c0-4e26-8530-038f0d0f38bd", + "fullUrl": "Observation/1736278970993621228.4bea0de9-0797-436d-b2a1-f148e54841d3", "resource": { "resourceType": "Observation", - "id": "1732560947435581000.24cfd8df-b5c0-4e26-8530-038f0d0f38bd", + "id": "1736278970993621228.4bea0de9-0797-436d-b2a1-f148e54841d3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -9959,7 +10041,7 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1732560947433754000.19ca0d1d-0037-4c58-a555-45d998f94102" + "reference": "Device/1736278970991937731.4bd00b06-738e-46ae-90c2-9d5f78e4cf1d" } }, { @@ -10030,10 +10112,10 @@ ] }, "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466" }, "encounter": { - "reference": "Encounter/1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e" + "reference": "Encounter/1736278970475926613.7595d3ef-5e2a-48ba-a09f-c65735f3acb8" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -10046,13 +10128,13 @@ }, "performer": [ { - "reference": "Organization/1732560947436263000.e0e7f96c-30a7-48f7-a0ab-e43f923f9f4f" + "reference": "Organization/1736278970994453379.a6d0d834-09d0-4f53-b8b7-80f4f7c78c53" }, { - "reference": "PractitionerRole/1732560947436510000.3bd0c3ad-775d-4c25-a2b8-22d533364a14" + "reference": "PractitionerRole/1736278970995001209.5b6dad6e-87e6-47cc-9a8a-5376f79ab369" }, { - "reference": "PractitionerRole/1732560947437350000.a95aa005-ca56-47ab-94c5-8fede0d519ef" + "reference": "PractitionerRole/1736278970996448434.a594fddb-54bf-4347-833f-deb641df684b" } ], "valueCodeableConcept": { @@ -10150,7 +10232,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947440304000.24cf6e82-960a-4605-8d9a-72b2e785c6b4" + "reference": "Practitioner/1736278971000995637.ef98a1ea-cd0a-47e6-a82e-37443a764ba8" }, "time": "2023-02-11", "_time": { @@ -10222,7 +10304,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947441597000.2dc62479-1ac9-4917-ba62-411e37453721" + "reference": "Practitioner/1736278971002378546.913acd87-cb89-4a3b-b675-4cbbbf5570a3" }, "time": "2023-02-11", "_time": { @@ -10269,7 +10351,7 @@ ] }, "device": { - "reference": "Device/1732560947442931000.3c2978d9-1ed9-4a9a-9bb4-b4d49bfe12ec" + "reference": "Device/1736278971004249790.58be9ccd-07af-4f4b-a465-a1eb54f9d12f" }, "referenceRange": [ { @@ -10279,10 +10361,10 @@ } }, { - "fullUrl": "Device/1732560947433754000.19ca0d1d-0037-4c58-a555-45d998f94102", + "fullUrl": "Device/1736278970991937731.4bd00b06-738e-46ae-90c2-9d5f78e4cf1d", "resource": { "resourceType": "Device", - "id": "1732560947433754000.19ca0d1d-0037-4c58-a555-45d998f94102", + "id": "1736278970991937731.4bd00b06-738e-46ae-90c2-9d5f78e4cf1d", "identifier": [ { "extension": [ @@ -10310,10 +10392,10 @@ } }, { - "fullUrl": "Organization/1732560947436263000.e0e7f96c-30a7-48f7-a0ab-e43f923f9f4f", + "fullUrl": "Organization/1736278970994453379.a6d0d834-09d0-4f53-b8b7-80f4f7c78c53", "resource": { "resourceType": "Organization", - "id": "1732560947436263000.e0e7f96c-30a7-48f7-a0ab-e43f923f9f4f", + "id": "1736278970994453379.a6d0d834-09d0-4f53-b8b7-80f4f7c78c53", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -10351,10 +10433,10 @@ } }, { - "fullUrl": "Practitioner/1732560947437107000.5bd8092f-c0f1-440f-b4bb-1c8681413bc9", + "fullUrl": "Practitioner/1736278970995980047.0f4e7306-44dd-45ac-935d-92529929691a", "resource": { "resourceType": "Practitioner", - "id": "1732560947437107000.5bd8092f-c0f1-440f-b4bb-1c8681413bc9", + "id": "1736278970995980047.0f4e7306-44dd-45ac-935d-92529929691a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -10382,12 +10464,12 @@ } }, { - "fullUrl": "PractitionerRole/1732560947436510000.3bd0c3ad-775d-4c25-a2b8-22d533364a14", + "fullUrl": "PractitionerRole/1736278970995001209.5b6dad6e-87e6-47cc-9a8a-5376f79ab369", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947436510000.3bd0c3ad-775d-4c25-a2b8-22d533364a14", + "id": "1736278970995001209.5b6dad6e-87e6-47cc-9a8a-5376f79ab369", "practitioner": { - "reference": "Practitioner/1732560947437107000.5bd8092f-c0f1-440f-b4bb-1c8681413bc9" + "reference": "Practitioner/1736278970995980047.0f4e7306-44dd-45ac-935d-92529929691a" }, "code": [ { @@ -10402,10 +10484,10 @@ } }, { - "fullUrl": "Practitioner/1732560947437952000.28334464-853e-4881-bfc3-9ad3c0f82280", + "fullUrl": "Practitioner/1736278970997533567.7512c8ea-b066-42df-92e4-5e42bf0abe2e", "resource": { "resourceType": "Practitioner", - "id": "1732560947437952000.28334464-853e-4881-bfc3-9ad3c0f82280", + "id": "1736278970997533567.7512c8ea-b066-42df-92e4-5e42bf0abe2e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -10433,10 +10515,10 @@ } }, { - "fullUrl": "Organization/1732560947438950000.3d87b7cb-e34a-4026-abe4-33bbd35c10ad", + "fullUrl": "Organization/1736278970999104045.fcf99008-e2f4-497a-ae94-77467fcbe831", "resource": { "resourceType": "Organization", - "id": "1732560947438950000.3d87b7cb-e34a-4026-abe4-33bbd35c10ad", + "id": "1736278970999104045.fcf99008-e2f4-497a-ae94-77467fcbe831", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -10510,15 +10592,15 @@ } }, { - "fullUrl": "PractitionerRole/1732560947437350000.a95aa005-ca56-47ab-94c5-8fede0d519ef", + "fullUrl": "PractitionerRole/1736278970996448434.a594fddb-54bf-4347-833f-deb641df684b", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947437350000.a95aa005-ca56-47ab-94c5-8fede0d519ef", + "id": "1736278970996448434.a594fddb-54bf-4347-833f-deb641df684b", "practitioner": { - "reference": "Practitioner/1732560947437952000.28334464-853e-4881-bfc3-9ad3c0f82280" + "reference": "Practitioner/1736278970997533567.7512c8ea-b066-42df-92e4-5e42bf0abe2e" }, "organization": { - "reference": "Organization/1732560947438950000.3d87b7cb-e34a-4026-abe4-33bbd35c10ad" + "reference": "Organization/1736278970999104045.fcf99008-e2f4-497a-ae94-77467fcbe831" }, "code": [ { @@ -10533,10 +10615,10 @@ } }, { - "fullUrl": "Practitioner/1732560947440304000.24cf6e82-960a-4605-8d9a-72b2e785c6b4", + "fullUrl": "Practitioner/1736278971000995637.ef98a1ea-cd0a-47e6-a82e-37443a764ba8", "resource": { "resourceType": "Practitioner", - "id": "1732560947440304000.24cf6e82-960a-4605-8d9a-72b2e785c6b4", + "id": "1736278971000995637.ef98a1ea-cd0a-47e6-a82e-37443a764ba8", "identifier": [ { "value": "Bob R.N.A." @@ -10545,10 +10627,10 @@ } }, { - "fullUrl": "Practitioner/1732560947441597000.2dc62479-1ac9-4917-ba62-411e37453721", + "fullUrl": "Practitioner/1736278971002378546.913acd87-cb89-4a3b-b675-4cbbbf5570a3", "resource": { "resourceType": "Practitioner", - "id": "1732560947441597000.2dc62479-1ac9-4917-ba62-411e37453721", + "id": "1736278971002378546.913acd87-cb89-4a3b-b675-4cbbbf5570a3", "identifier": [ { "value": "Bob R.N.A." @@ -10557,10 +10639,10 @@ } }, { - "fullUrl": "Device/1732560947442931000.3c2978d9-1ed9-4a9a-9bb4-b4d49bfe12ec", + "fullUrl": "Device/1736278971004249790.58be9ccd-07af-4f4b-a465-a1eb54f9d12f", "resource": { "resourceType": "Device", - "id": "1732560947442931000.3c2978d9-1ed9-4a9a-9bb4-b4d49bfe12ec", + "id": "1736278971004249790.58be9ccd-07af-4f4b-a465-a1eb54f9d12f", "identifier": [ { "extension": [ @@ -10588,10 +10670,10 @@ } }, { - "fullUrl": "Observation/1732560947452762000.982e8dbf-6f70-46c9-9291-4bf159092ea8", + "fullUrl": "Observation/1736278971009817540.5393e482-cc45-4a88-a68b-3c4385b4b3e9", "resource": { "resourceType": "Observation", - "id": "1732560947452762000.982e8dbf-6f70-46c9-9291-4bf159092ea8", + "id": "1736278971009817540.5393e482-cc45-4a88-a68b-3c4385b4b3e9", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -10792,13 +10874,13 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1732560947450961000.e87c94b2-e6f3-4d4a-9394-dcfa4b260214" + "reference": "Device/1736278971007537655.c2d4d046-adf3-4449-9e1e-81fbf4481c3b" } }, { "url": "OBX.18", "valueReference": { - "reference": "Device/1732560947451258000.e01d036e-3a31-4c54-852d-b2223d7ff180" + "reference": "Device/1736278971007865375.5d1838ad-b3ff-45ff-a68e-aa50e579ddfb" } }, { @@ -10891,10 +10973,10 @@ ] }, "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466" }, "encounter": { - "reference": "Encounter/1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e" + "reference": "Encounter/1736278970475926613.7595d3ef-5e2a-48ba-a09f-c65735f3acb8" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -10907,16 +10989,16 @@ }, "performer": [ { - "reference": "Organization/1732560947453324000.d966a526-6886-4262-a380-2cfa66a23632" + "reference": "Organization/1736278971010605418.7bd98837-f690-4b8a-820b-ec5859a0cd83" }, { - "reference": "PractitionerRole/1732560947453526000.b4f1bbea-6211-4420-8414-f3499ac71d1a" + "reference": "PractitionerRole/1736278971010928271.7fb3e35f-6b60-4f5c-9a87-4388d529270c" }, { - "reference": "PractitionerRole/1732560947454333000.d48045c2-d160-4171-919a-d00db16e1b75" + "reference": "PractitionerRole/1736278971011974412.d0b8a0cc-9a35-4332-94fb-353ca1bf688e" }, { - "reference": "PractitionerRole/1732560947455114000.18c45f9a-23ca-4a4d-8199-ab441dc23a6e" + "reference": "PractitionerRole/1736278971013185848.debac575-872a-4ae6-8749-57850ebbc7cf" } ], "valueCodeableConcept": { @@ -11028,7 +11110,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947458639000.71d35ae3-fdc7-45e8-8611-df40fb13c990" + "reference": "Practitioner/1736278971016840756.97016b8e-83bc-4ad3-9ab1-9aaa369ed233" }, "time": "2023-02-21", "_time": { @@ -11100,7 +11182,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947459879000.6fe5cb3a-dcea-4944-bd94-89fc71a97dbc" + "reference": "Practitioner/1736278971018344617.2a8085cb-b6d3-44aa-89d3-7bd537d2354c" }, "time": "2023-02-21", "_time": { @@ -11147,7 +11229,7 @@ ] }, "device": { - "reference": "Device/1732560947461346000.f55a48f7-adec-4248-870f-ea708477853c" + "reference": "Device/1736278971020276572.97c6b3d1-b51e-4b79-aa72-572f25c7bb9f" }, "referenceRange": [ { @@ -11157,10 +11239,10 @@ } }, { - "fullUrl": "Device/1732560947450961000.e87c94b2-e6f3-4d4a-9394-dcfa4b260214", + "fullUrl": "Device/1736278971007537655.c2d4d046-adf3-4449-9e1e-81fbf4481c3b", "resource": { "resourceType": "Device", - "id": "1732560947450961000.e87c94b2-e6f3-4d4a-9394-dcfa4b260214", + "id": "1736278971007537655.c2d4d046-adf3-4449-9e1e-81fbf4481c3b", "identifier": [ { "extension": [ @@ -11188,10 +11270,10 @@ } }, { - "fullUrl": "Device/1732560947451258000.e01d036e-3a31-4c54-852d-b2223d7ff180", + "fullUrl": "Device/1736278971007865375.5d1838ad-b3ff-45ff-a68e-aa50e579ddfb", "resource": { "resourceType": "Device", - "id": "1732560947451258000.e01d036e-3a31-4c54-852d-b2223d7ff180", + "id": "1736278971007865375.5d1838ad-b3ff-45ff-a68e-aa50e579ddfb", "identifier": [ { "extension": [ @@ -11219,10 +11301,10 @@ } }, { - "fullUrl": "Organization/1732560947453324000.d966a526-6886-4262-a380-2cfa66a23632", + "fullUrl": "Organization/1736278971010605418.7bd98837-f690-4b8a-820b-ec5859a0cd83", "resource": { "resourceType": "Organization", - "id": "1732560947453324000.d966a526-6886-4262-a380-2cfa66a23632", + "id": "1736278971010605418.7bd98837-f690-4b8a-820b-ec5859a0cd83", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -11260,10 +11342,10 @@ } }, { - "fullUrl": "Practitioner/1732560947454077000.5f76029c-4b68-4c77-ae9f-df63aa9de998", + "fullUrl": "Practitioner/1736278971011637124.b6c34c00-5866-4494-b5c6-50aa42776abe", "resource": { "resourceType": "Practitioner", - "id": "1732560947454077000.5f76029c-4b68-4c77-ae9f-df63aa9de998", + "id": "1736278971011637124.b6c34c00-5866-4494-b5c6-50aa42776abe", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11291,12 +11373,12 @@ } }, { - "fullUrl": "PractitionerRole/1732560947453526000.b4f1bbea-6211-4420-8414-f3499ac71d1a", + "fullUrl": "PractitionerRole/1736278971010928271.7fb3e35f-6b60-4f5c-9a87-4388d529270c", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947453526000.b4f1bbea-6211-4420-8414-f3499ac71d1a", + "id": "1736278971010928271.7fb3e35f-6b60-4f5c-9a87-4388d529270c", "practitioner": { - "reference": "Practitioner/1732560947454077000.5f76029c-4b68-4c77-ae9f-df63aa9de998" + "reference": "Practitioner/1736278971011637124.b6c34c00-5866-4494-b5c6-50aa42776abe" }, "code": [ { @@ -11311,10 +11393,10 @@ } }, { - "fullUrl": "Practitioner/1732560947454864000.9b076555-2a5b-4c3e-a493-5933cbc6df12", + "fullUrl": "Practitioner/1736278971012679749.8e2657e4-5ce2-4507-be6a-9570a91927a1", "resource": { "resourceType": "Practitioner", - "id": "1732560947454864000.9b076555-2a5b-4c3e-a493-5933cbc6df12", + "id": "1736278971012679749.8e2657e4-5ce2-4507-be6a-9570a91927a1", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11342,12 +11424,12 @@ } }, { - "fullUrl": "PractitionerRole/1732560947454333000.d48045c2-d160-4171-919a-d00db16e1b75", + "fullUrl": "PractitionerRole/1736278971011974412.d0b8a0cc-9a35-4332-94fb-353ca1bf688e", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947454333000.d48045c2-d160-4171-919a-d00db16e1b75", + "id": "1736278971011974412.d0b8a0cc-9a35-4332-94fb-353ca1bf688e", "practitioner": { - "reference": "Practitioner/1732560947454864000.9b076555-2a5b-4c3e-a493-5933cbc6df12" + "reference": "Practitioner/1736278971012679749.8e2657e4-5ce2-4507-be6a-9570a91927a1" }, "code": [ { @@ -11362,10 +11444,10 @@ } }, { - "fullUrl": "Practitioner/1732560947455722000.9239160a-b816-4cf1-a255-486e508ed743", + "fullUrl": "Practitioner/1736278971013965249.d1b7f32c-0b53-4a7e-a7b3-55da35d9026a", "resource": { "resourceType": "Practitioner", - "id": "1732560947455722000.9239160a-b816-4cf1-a255-486e508ed743", + "id": "1736278971013965249.d1b7f32c-0b53-4a7e-a7b3-55da35d9026a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11393,10 +11475,10 @@ } }, { - "fullUrl": "Organization/1732560947457302000.24673c89-ad21-4e07-96bc-1367d4a5eb53", + "fullUrl": "Organization/1736278971015209901.284f9a56-8d88-4f4f-a9b5-21f1b4fdb8ae", "resource": { "resourceType": "Organization", - "id": "1732560947457302000.24673c89-ad21-4e07-96bc-1367d4a5eb53", + "id": "1736278971015209901.284f9a56-8d88-4f4f-a9b5-21f1b4fdb8ae", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -11470,15 +11552,15 @@ } }, { - "fullUrl": "PractitionerRole/1732560947455114000.18c45f9a-23ca-4a4d-8199-ab441dc23a6e", + "fullUrl": "PractitionerRole/1736278971013185848.debac575-872a-4ae6-8749-57850ebbc7cf", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947455114000.18c45f9a-23ca-4a4d-8199-ab441dc23a6e", + "id": "1736278971013185848.debac575-872a-4ae6-8749-57850ebbc7cf", "practitioner": { - "reference": "Practitioner/1732560947455722000.9239160a-b816-4cf1-a255-486e508ed743" + "reference": "Practitioner/1736278971013965249.d1b7f32c-0b53-4a7e-a7b3-55da35d9026a" }, "organization": { - "reference": "Organization/1732560947457302000.24673c89-ad21-4e07-96bc-1367d4a5eb53" + "reference": "Organization/1736278971015209901.284f9a56-8d88-4f4f-a9b5-21f1b4fdb8ae" }, "code": [ { @@ -11493,10 +11575,10 @@ } }, { - "fullUrl": "Practitioner/1732560947458639000.71d35ae3-fdc7-45e8-8611-df40fb13c990", + "fullUrl": "Practitioner/1736278971016840756.97016b8e-83bc-4ad3-9ab1-9aaa369ed233", "resource": { "resourceType": "Practitioner", - "id": "1732560947458639000.71d35ae3-fdc7-45e8-8611-df40fb13c990", + "id": "1736278971016840756.97016b8e-83bc-4ad3-9ab1-9aaa369ed233", "identifier": [ { "value": "Bob R.N.A." @@ -11505,10 +11587,10 @@ } }, { - "fullUrl": "Practitioner/1732560947459879000.6fe5cb3a-dcea-4944-bd94-89fc71a97dbc", + "fullUrl": "Practitioner/1736278971018344617.2a8085cb-b6d3-44aa-89d3-7bd537d2354c", "resource": { "resourceType": "Practitioner", - "id": "1732560947459879000.6fe5cb3a-dcea-4944-bd94-89fc71a97dbc", + "id": "1736278971018344617.2a8085cb-b6d3-44aa-89d3-7bd537d2354c", "identifier": [ { "value": "Bob R.N.A." @@ -11517,10 +11599,10 @@ } }, { - "fullUrl": "Device/1732560947461346000.f55a48f7-adec-4248-870f-ea708477853c", + "fullUrl": "Device/1736278971020276572.97c6b3d1-b51e-4b79-aa72-572f25c7bb9f", "resource": { "resourceType": "Device", - "id": "1732560947461346000.f55a48f7-adec-4248-870f-ea708477853c", + "id": "1736278971020276572.97c6b3d1-b51e-4b79-aa72-572f25c7bb9f", "identifier": [ { "extension": [ @@ -11548,10 +11630,10 @@ } }, { - "fullUrl": "Specimen/1732560947469944000.d44f2361-3edc-4170-bea3-6af32fd4a247", + "fullUrl": "Specimen/1736278971031883372.887099ed-0246-4962-885f-e8b71966246e", "resource": { "resourceType": "Specimen", - "id": "1732560947469944000.d44f2361-3edc-4170-bea3-6af32fd4a247", + "id": "1736278971031883372.887099ed-0246-4962-885f-e8b71966246e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -11582,7 +11664,7 @@ }, "collection": { "collector": { - "reference": "Practitioner/1732560947472617000.12cea1fc-bc1e-4f6d-8d0b-b1dc8f747ab5" + "reference": "Practitioner/1736278971034660625.446b1e20-b547-422f-95b0-a43a587d4003" }, "collectedPeriod": { "end": "2024-02-20", @@ -11634,7 +11716,7 @@ } ], "code": "BOUIN", - "display": "Bouin\u0027s solution" + "display": "Bouin's solution" } ] } @@ -11718,10 +11800,10 @@ } }, { - "fullUrl": "Practitioner/1732560947472617000.12cea1fc-bc1e-4f6d-8d0b-b1dc8f747ab5", + "fullUrl": "Practitioner/1736278971034660625.446b1e20-b547-422f-95b0-a43a587d4003", "resource": { "resourceType": "Practitioner", - "id": "1732560947472617000.12cea1fc-bc1e-4f6d-8d0b-b1dc8f747ab5", + "id": "1736278971034660625.446b1e20-b547-422f-95b0-a43a587d4003", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -11870,10 +11952,10 @@ } }, { - "fullUrl": "Specimen/1732560947485272000.2de97c85-b7e1-4d34-89b3-5eb0281675c7", + "fullUrl": "Specimen/1736278971045308057.938497d8-cb68-4b76-9f62-a8f608872728", "resource": { "resourceType": "Specimen", - "id": "1732560947485272000.2de97c85-b7e1-4d34-89b3-5eb0281675c7", + "id": "1736278971045308057.938497d8-cb68-4b76-9f62-a8f608872728", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -12624,10 +12706,10 @@ } }, { - "fullUrl": "Specimen/1732560947490639000.76590a8f-5db7-4f30-8409-11147b0d050c", + "fullUrl": "Specimen/1736278971052100566.7ba45a58-8667-4cad-8035-b74dd15d2a10", "resource": { "resourceType": "Specimen", - "id": "1732560947490639000.76590a8f-5db7-4f30-8409-11147b0d050c", + "id": "1736278971052100566.7ba45a58-8667-4cad-8035-b74dd15d2a10", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -13241,10 +13323,10 @@ } }, { - "fullUrl": "Coverage/1732739201962559000.af1bd55f-2269-4782-a205-39c76d162b0d", + "fullUrl": "Coverage/1736278971057116014.455cf12b-5a75-45fc-90ad-9fa8201749d7", "resource": { "resourceType": "Coverage", - "id": "1732739201962559000.af1bd55f-2269-4782-a205-39c76d162b0d", + "id": "1736278971057116014.455cf12b-5a75-45fc-90ad-9fa8201749d7", "extension": [ { "url": "IN1.14", @@ -13483,10 +13565,10 @@ } }, { - "fullUrl": "ServiceRequest/1732560947529907000.d8a09a6a-8364-469a-b25b-3af90b0b03a7", + "fullUrl": "ServiceRequest/1736278971130831582.3e657aaf-8072-48d2-9687-d2692f896464", "resource": { "resourceType": "ServiceRequest", - "id": "1732560947529907000.d8a09a6a-8364-469a-b25b-3af90b0b03a7", + "id": "1736278971130831582.3e657aaf-8072-48d2-9687-d2692f896464", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event", @@ -13531,25 +13613,25 @@ { "url": "ORC.19", "valueReference": { - "reference": "Practitioner/1732560947499269000.5ec7bd2d-b46f-4ab5-b6f1-105e2a16a033" + "reference": "Practitioner/1736278971067786062.3e90f6a9-649f-4803-9f66-a4388e3d834e" } }, { "url": "ORC.19", "valueReference": { - "reference": "Practitioner/1732560947499740000.59d10b31-b2d0-4645-8bef-afeb200d6f85" + "reference": "Practitioner/1736278971068521331.5fba2b58-2b83-4b67-915f-b01f4ac92c1b" } }, { "url": "orc-21-ordering-facility-name", "valueReference": { - "reference": "Organization/1732560947500330000.8cdf6910-2555-4d7f-9e91-3df392f1eaac" + "reference": "Organization/1736278971069644628.17e1faff-0d52-426e-a4e6-b141097f1289" } }, { "url": "orc-21-ordering-facility-name", "valueReference": { - "reference": "Organization/1732560947500653000.31f4e156-e9ee-451b-be8a-2f507d69bfe8" + "reference": "Organization/1736278971070308619.3473fe97-9f6f-4ad3-94c6-78d18986a21d" } }, { @@ -13779,43 +13861,43 @@ { "url": "ORC.10", "valueReference": { - "reference": "Practitioner/1732560947503002000.ee504390-2017-4f6f-a4f3-53b2fd73246d" + "reference": "Practitioner/1736278971074379007.ddbab285-1f96-4203-9bd4-1d80c345797e" } }, { "url": "ORC.10", "valueReference": { - "reference": "Practitioner/1732560947503448000.f7156834-3f5d-4a82-b7a1-98e183b07cf1" + "reference": "Practitioner/1736278971075164264.b1730adb-6fdc-49e4-b417-4cd58ef6af75" } }, { "url": "ORC.11", "valueReference": { - "reference": "Practitioner/1732560947503902000.ed6d174d-d09e-41af-9395-2400535214ee" + "reference": "Practitioner/1736278971076158647.9d396b02-a5d0-4124-9837-59d5f6127300" } }, { "url": "ORC.11", "valueReference": { - "reference": "Practitioner/1732560947504312000.06c8aa90-edcb-468f-89e5-132d01a8b5c7" + "reference": "Practitioner/1736278971076889045.3a685a50-a180-4671-8a5a-59419752f5e1" } }, { "url": "orc-12-ordering-provider", "valueReference": { - "reference": "Practitioner/1732560947504759000.80007309-46b8-45c5-aca3-f060b9482d7a" + "reference": "Practitioner/1736278971077692898.4c603048-551e-444c-9828-94be543c9c9a" } }, { "url": "orc-12-ordering-provider", "valueReference": { - "reference": "Practitioner/1732560947505412000.8534206a-3bee-45ba-93ea-4c0d68ae7d23" + "reference": "Practitioner/1736278971078430404.95ec0ffd-59b4-4a45-b7f5-84a5e3180e13" } }, { "url": "ORC.13", "valueReference": { - "reference": "Location/1732560947506294000.04f6861c-e932-41ec-888f-b700e45b7102" + "reference": "Location/1736278971079937963.5a91482b-fc35-464a-a076-4b7a7f17509f" } }, { @@ -13951,7 +14033,7 @@ } ], "code": "BOUIN", - "display": "Bouin\u0027s solution" + "display": "Bouin's solution" } ] } @@ -14006,13 +14088,13 @@ { "url": "OBR.16", "valueReference": { - "reference": "Practitioner/1732560947509331000.0ab46a24-9916-4747-9fca-3a758c81028b" + "reference": "Practitioner/1736278971085608732.223bddef-dc47-4198-a63c-c7d33b1fed93" } }, { "url": "OBR.16", "valueReference": { - "reference": "Practitioner/1732560947509819000.f1cdce66-9637-48cd-8b16-10bab1f16e1d" + "reference": "Practitioner/1736278971086549938.019a3f7e-db5c-41d4-a265-50ace9e48da7" } }, { @@ -14258,13 +14340,13 @@ { "url": "OBR.28", "valueReference": { - "reference": "Practitioner/1732560947512408000.783446c3-304f-4c9f-a460-d4e80fdb8c88" + "reference": "Practitioner/1736278971091802346.dee09454-2fa5-483a-8b6d-ac3a18746d7f" } }, { "url": "OBR.28", "valueReference": { - "reference": "Practitioner/1732560947512884000.d4774390-13b1-4d5b-8a3e-0347f57475ba" + "reference": "Practitioner/1736278971092889488.3c9456b2-815c-4673-bae1-315198c14d94" } }, { @@ -14319,13 +14401,13 @@ { "url": "OBR.33", "valueReference": { - "reference": "PractitionerRole/1732560947520941000.f4eece44-f1da-4aca-be73-8ec35f36dab6" + "reference": "PractitionerRole/1736278971112326266.da7d2926-d0cd-4ffb-a4d9-6f73bd6529fc" } }, { "url": "OBR.33", "valueReference": { - "reference": "PractitionerRole/1732560947523162000.7c84ee7b-bdc3-4795-a183-d2c5bec9e2be" + "reference": "PractitionerRole/1736278971117002634.2278933f-f1b9-4578-9400-7dd07318a34f" } }, { @@ -14557,13 +14639,13 @@ { "url": "OBR.10", "valueReference": { - "reference": "Practitioner/1732560947526641000.f9f859f3-9bf8-411e-8112-33b23d353c7e" + "reference": "Practitioner/1736278971125011481.d441fd96-5d25-4c92-8228-0b0f3d2a0916" } }, { "url": "OBR.10", "valueReference": { - "reference": "Practitioner/1732560947527932000.3ca1d3ad-62cd-41ed-9062-5fad5b91e7c3" + "reference": "Practitioner/1736278971127445334.2a57bff1-5a0d-4063-b766-fadae67a6373" } }, { @@ -14894,7 +14976,7 @@ } ], "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736278970401229143.09017f81-4905-45ca-8158-f2a2ab9b2466" }, "occurrenceDateTime": "2022-02-02T10:22:00Z", "_occurrenceDateTime": { @@ -14960,7 +15042,7 @@ } } ], - "reference": "PractitionerRole/1732560947492831000.5cd7780b-0f2c-46ca-889f-0798fb775efb" + "reference": "PractitionerRole/1736278971058319413.14d75f0c-6f70-46ff-986b-867067bff1c3" }, "locationCode": [ { @@ -15014,21 +15096,21 @@ ], "supportingInfo": [ { - "reference": "Observation/1732560947435581000.24cfd8df-b5c0-4e26-8530-038f0d0f38bd" + "reference": "Observation/1736278970993621228.4bea0de9-0797-436d-b2a1-f148e54841d3" }, { - "reference": "Observation/1732560947452762000.982e8dbf-6f70-46c9-9291-4bf159092ea8" + "reference": "Observation/1736278971009817540.5393e482-cc45-4a88-a68b-3c4385b4b3e9" } ], "specimen": [ { - "reference": "Specimen/1732560947485272000.2de97c85-b7e1-4d34-89b3-5eb0281675c7" + "reference": "Specimen/1736278971045308057.938497d8-cb68-4b76-9f62-a8f608872728" }, { - "reference": "Specimen/1732560947490639000.76590a8f-5db7-4f30-8409-11147b0d050c" + "reference": "Specimen/1736278971052100566.7ba45a58-8667-4cad-8035-b74dd15d2a10" }, { - "reference": "Specimen/1732560947469944000.d44f2361-3edc-4170-bea3-6af32fd4a247" + "reference": "Specimen/1736278971031883372.887099ed-0246-4962-885f-e8b71966246e" } ], "note": [ @@ -15135,10 +15217,10 @@ } }, { - "fullUrl": "Practitioner/1732560947493696000.0477e27d-b681-492e-b0a3-4df3af046aa0", + "fullUrl": "Practitioner/1736278971059685321.e62bd8df-8a2b-4d0e-9904-3ecfb34e555d", "resource": { "resourceType": "Practitioner", - "id": "1732560947493696000.0477e27d-b681-492e-b0a3-4df3af046aa0", + "id": "1736278971059685321.e62bd8df-8a2b-4d0e-9904-3ecfb34e555d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15194,10 +15276,10 @@ } }, { - "fullUrl": "Location/1732560947494068000.23e06089-e5d2-4ce3-b999-2680e8d550ff", + "fullUrl": "Location/1736278971060646961.eb0376b1-5797-4297-b974-73517f4fcc2b", "resource": { "resourceType": "Location", - "id": "1732560947494068000.23e06089-e5d2-4ce3-b999-2680e8d550ff", + "id": "1736278971060646961.eb0376b1-5797-4297-b974-73517f4fcc2b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -15221,10 +15303,10 @@ } }, { - "fullUrl": "Organization/1732560947495609000.878c2511-f6c3-4dac-a91f-ef40b67ea045", + "fullUrl": "Organization/1736278971062408188.d3425c9c-2b2b-48c6-bc95-f443e2b4a015", "resource": { "resourceType": "Organization", - "id": "1732560947495609000.878c2511-f6c3-4dac-a91f-ef40b67ea045", + "id": "1736278971062408188.d3425c9c-2b2b-48c6-bc95-f443e2b4a015", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -15263,7 +15345,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947494068000.23e06089-e5d2-4ce3-b999-2680e8d550ff" + "reference": "Location/1736278971060646961.eb0376b1-5797-4297-b974-73517f4fcc2b" } } ], @@ -15347,23 +15429,23 @@ } }, { - "fullUrl": "PractitionerRole/1732560947492831000.5cd7780b-0f2c-46ca-889f-0798fb775efb", + "fullUrl": "PractitionerRole/1736278971058319413.14d75f0c-6f70-46ff-986b-867067bff1c3", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947492831000.5cd7780b-0f2c-46ca-889f-0798fb775efb", + "id": "1736278971058319413.14d75f0c-6f70-46ff-986b-867067bff1c3", "practitioner": { - "reference": "Practitioner/1732560947493696000.0477e27d-b681-492e-b0a3-4df3af046aa0" + "reference": "Practitioner/1736278971059685321.e62bd8df-8a2b-4d0e-9904-3ecfb34e555d" }, "organization": { - "reference": "Organization/1732560947495609000.878c2511-f6c3-4dac-a91f-ef40b67ea045" + "reference": "Organization/1736278971062408188.d3425c9c-2b2b-48c6-bc95-f443e2b4a015" } } }, { - "fullUrl": "Practitioner/1732560947499269000.5ec7bd2d-b46f-4ab5-b6f1-105e2a16a033", + "fullUrl": "Practitioner/1736278971067786062.3e90f6a9-649f-4803-9f66-a4388e3d834e", "resource": { "resourceType": "Practitioner", - "id": "1732560947499269000.5ec7bd2d-b46f-4ab5-b6f1-105e2a16a033", + "id": "1736278971067786062.3e90f6a9-649f-4803-9f66-a4388e3d834e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15390,10 +15472,10 @@ } }, { - "fullUrl": "Practitioner/1732560947499740000.59d10b31-b2d0-4645-8bef-afeb200d6f85", + "fullUrl": "Practitioner/1736278971068521331.5fba2b58-2b83-4b67-915f-b01f4ac92c1b", "resource": { "resourceType": "Practitioner", - "id": "1732560947499740000.59d10b31-b2d0-4645-8bef-afeb200d6f85", + "id": "1736278971068521331.5fba2b58-2b83-4b67-915f-b01f4ac92c1b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15420,10 +15502,10 @@ } }, { - "fullUrl": "Location/1732560947500074000.bb6760cf-9dbe-4d9a-9f74-ea8bb96b5798", + "fullUrl": "Location/1736278971069203665.1fe5662d-85cf-4ff3-b773-9a567f44e173", "resource": { "resourceType": "Location", - "id": "1732560947500074000.bb6760cf-9dbe-4d9a-9f74-ea8bb96b5798", + "id": "1736278971069203665.1fe5662d-85cf-4ff3-b773-9a567f44e173", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -15447,10 +15529,10 @@ } }, { - "fullUrl": "Organization/1732560947500330000.8cdf6910-2555-4d7f-9e91-3df392f1eaac", + "fullUrl": "Organization/1736278971069644628.17e1faff-0d52-426e-a4e6-b141097f1289", "resource": { "resourceType": "Organization", - "id": "1732560947500330000.8cdf6910-2555-4d7f-9e91-3df392f1eaac", + "id": "1736278971069644628.17e1faff-0d52-426e-a4e6-b141097f1289", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -15489,7 +15571,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947500074000.bb6760cf-9dbe-4d9a-9f74-ea8bb96b5798" + "reference": "Location/1736278971069203665.1fe5662d-85cf-4ff3-b773-9a567f44e173" } } ], @@ -15508,10 +15590,10 @@ } }, { - "fullUrl": "Organization/1732560947500653000.31f4e156-e9ee-451b-be8a-2f507d69bfe8", + "fullUrl": "Organization/1736278971070308619.3473fe97-9f6f-4ad3-94c6-78d18986a21d", "resource": { "resourceType": "Organization", - "id": "1732560947500653000.31f4e156-e9ee-451b-be8a-2f507d69bfe8", + "id": "1736278971070308619.3473fe97-9f6f-4ad3-94c6-78d18986a21d", "identifier": [ { "extension": [ @@ -15539,10 +15621,10 @@ } }, { - "fullUrl": "Practitioner/1732560947503002000.ee504390-2017-4f6f-a4f3-53b2fd73246d", + "fullUrl": "Practitioner/1736278971074379007.ddbab285-1f96-4203-9bd4-1d80c345797e", "resource": { "resourceType": "Practitioner", - "id": "1732560947503002000.ee504390-2017-4f6f-a4f3-53b2fd73246d", + "id": "1736278971074379007.ddbab285-1f96-4203-9bd4-1d80c345797e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15569,10 +15651,10 @@ } }, { - "fullUrl": "Practitioner/1732560947503448000.f7156834-3f5d-4a82-b7a1-98e183b07cf1", + "fullUrl": "Practitioner/1736278971075164264.b1730adb-6fdc-49e4-b417-4cd58ef6af75", "resource": { "resourceType": "Practitioner", - "id": "1732560947503448000.f7156834-3f5d-4a82-b7a1-98e183b07cf1", + "id": "1736278971075164264.b1730adb-6fdc-49e4-b417-4cd58ef6af75", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15599,10 +15681,10 @@ } }, { - "fullUrl": "Practitioner/1732560947503902000.ed6d174d-d09e-41af-9395-2400535214ee", + "fullUrl": "Practitioner/1736278971076158647.9d396b02-a5d0-4124-9837-59d5f6127300", "resource": { "resourceType": "Practitioner", - "id": "1732560947503902000.ed6d174d-d09e-41af-9395-2400535214ee", + "id": "1736278971076158647.9d396b02-a5d0-4124-9837-59d5f6127300", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15629,10 +15711,10 @@ } }, { - "fullUrl": "Practitioner/1732560947504312000.06c8aa90-edcb-468f-89e5-132d01a8b5c7", + "fullUrl": "Practitioner/1736278971076889045.3a685a50-a180-4671-8a5a-59419752f5e1", "resource": { "resourceType": "Practitioner", - "id": "1732560947504312000.06c8aa90-edcb-468f-89e5-132d01a8b5c7", + "id": "1736278971076889045.3a685a50-a180-4671-8a5a-59419752f5e1", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15659,10 +15741,10 @@ } }, { - "fullUrl": "Practitioner/1732560947504759000.80007309-46b8-45c5-aca3-f060b9482d7a", + "fullUrl": "Practitioner/1736278971077692898.4c603048-551e-444c-9828-94be543c9c9a", "resource": { "resourceType": "Practitioner", - "id": "1732560947504759000.80007309-46b8-45c5-aca3-f060b9482d7a", + "id": "1736278971077692898.4c603048-551e-444c-9828-94be543c9c9a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15689,10 +15771,10 @@ } }, { - "fullUrl": "Practitioner/1732560947505412000.8534206a-3bee-45ba-93ea-4c0d68ae7d23", + "fullUrl": "Practitioner/1736278971078430404.95ec0ffd-59b4-4a45-b7f5-84a5e3180e13", "resource": { "resourceType": "Practitioner", - "id": "1732560947505412000.8534206a-3bee-45ba-93ea-4c0d68ae7d23", + "id": "1736278971078430404.95ec0ffd-59b4-4a45-b7f5-84a5e3180e13", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15719,10 +15801,10 @@ } }, { - "fullUrl": "Location/1732560947506084000.5a892c5b-37ad-4002-bd47-8c6803d8464c", + "fullUrl": "Location/1736278971079562765.446b6f86-3179-4159-a27b-5e67c05e4478", "resource": { "resourceType": "Location", - "id": "1732560947506084000.5a892c5b-37ad-4002-bd47-8c6803d8464c", + "id": "1736278971079562765.446b6f86-3179-4159-a27b-5e67c05e4478", "identifier": [ { "extension": [ @@ -15774,10 +15856,10 @@ } }, { - "fullUrl": "Location/1732560947506294000.04f6861c-e932-41ec-888f-b700e45b7102", + "fullUrl": "Location/1736278971079937963.5a91482b-fc35-464a-a076-4b7a7f17509f", "resource": { "resourceType": "Location", - "id": "1732560947506294000.04f6861c-e932-41ec-888f-b700e45b7102", + "id": "1736278971079937963.5a91482b-fc35-464a-a076-4b7a7f17509f", "identifier": [ { "extension": [ @@ -15828,15 +15910,15 @@ ] }, "partOf": { - "reference": "Location/1732560947506084000.5a892c5b-37ad-4002-bd47-8c6803d8464c" + "reference": "Location/1736278971079562765.446b6f86-3179-4159-a27b-5e67c05e4478" } } }, { - "fullUrl": "Practitioner/1732560947509331000.0ab46a24-9916-4747-9fca-3a758c81028b", + "fullUrl": "Practitioner/1736278971085608732.223bddef-dc47-4198-a63c-c7d33b1fed93", "resource": { "resourceType": "Practitioner", - "id": "1732560947509331000.0ab46a24-9916-4747-9fca-3a758c81028b", + "id": "1736278971085608732.223bddef-dc47-4198-a63c-c7d33b1fed93", "identifier": [ { "value": "1" @@ -15870,10 +15952,10 @@ } }, { - "fullUrl": "Practitioner/1732560947509819000.f1cdce66-9637-48cd-8b16-10bab1f16e1d", + "fullUrl": "Practitioner/1736278971086549938.019a3f7e-db5c-41d4-a265-50ace9e48da7", "resource": { "resourceType": "Practitioner", - "id": "1732560947509819000.f1cdce66-9637-48cd-8b16-10bab1f16e1d", + "id": "1736278971086549938.019a3f7e-db5c-41d4-a265-50ace9e48da7", "identifier": [ { "value": "2" @@ -15907,10 +15989,10 @@ } }, { - "fullUrl": "Practitioner/1732560947512408000.783446c3-304f-4c9f-a460-d4e80fdb8c88", + "fullUrl": "Practitioner/1736278971091802346.dee09454-2fa5-483a-8b6d-ac3a18746d7f", "resource": { "resourceType": "Practitioner", - "id": "1732560947512408000.783446c3-304f-4c9f-a460-d4e80fdb8c88", + "id": "1736278971091802346.dee09454-2fa5-483a-8b6d-ac3a18746d7f", "identifier": [ { "value": "1" @@ -15944,10 +16026,10 @@ } }, { - "fullUrl": "Practitioner/1732560947512884000.d4774390-13b1-4d5b-8a3e-0347f57475ba", + "fullUrl": "Practitioner/1736278971092889488.3c9456b2-815c-4673-bae1-315198c14d94", "resource": { "resourceType": "Practitioner", - "id": "1732560947512884000.d4774390-13b1-4d5b-8a3e-0347f57475ba", + "id": "1736278971092889488.3c9456b2-815c-4673-bae1-315198c14d94", "identifier": [ { "value": "2" @@ -15981,10 +16063,10 @@ } }, { - "fullUrl": "Practitioner/1732560947513689000.989ab7fa-f0bb-4786-b727-a9becbfd1e60", + "fullUrl": "Practitioner/1736278971094448320.a81e57b7-42a2-474e-b439-416780a57fd7", "resource": { "resourceType": "Practitioner", - "id": "1732560947513689000.989ab7fa-f0bb-4786-b727-a9becbfd1e60", + "id": "1736278971094448320.a81e57b7-42a2-474e-b439-416780a57fd7", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner", @@ -16051,10 +16133,10 @@ } }, { - "fullUrl": "Location/1732560947514770000.899f4562-f9db-4c94-bb05-047c9b1e297c", + "fullUrl": "Location/1736278971096940056.efebf7fa-6ab0-4162-bfd7-1e18e0808c90", "resource": { "resourceType": "Location", - "id": "1732560947514770000.899f4562-f9db-4c94-bb05-047c9b1e297c", + "id": "1736278971096940056.efebf7fa-6ab0-4162-bfd7-1e18e0808c90", "identifier": [ { "extension": [ @@ -16101,10 +16183,10 @@ } }, { - "fullUrl": "Location/1732560947519778000.baa0c773-906b-48e3-8494-d317e4765870", + "fullUrl": "Location/1736278971110489901.3a302e12-5744-4104-bc65-23143ee6eb63", "resource": { "resourceType": "Location", - "id": "1732560947519778000.baa0c773-906b-48e3-8494-d317e4765870", + "id": "1736278971110489901.3a302e12-5744-4104-bc65-23143ee6eb63", "identifier": [ { "value": "Building 123" @@ -16123,10 +16205,10 @@ } }, { - "fullUrl": "Location/1732560947520130000.cbd13489-be1a-49b5-87fb-0674e5abb016", + "fullUrl": "Location/1736278971111000142.592bc27d-e4a3-4142-a70d-b43f6a6e3d0f", "resource": { "resourceType": "Location", - "id": "1732560947520130000.cbd13489-be1a-49b5-87fb-0674e5abb016", + "id": "1736278971111000142.592bc27d-e4a3-4142-a70d-b43f6a6e3d0f", "identifier": [ { "value": "Point of Care" @@ -16152,10 +16234,10 @@ } }, { - "fullUrl": "Location/1732560947520385000.002d6faf-8054-462d-b3c2-17cef5f937c9", + "fullUrl": "Location/1736278971111466950.5a1ef174-0934-4c00-a557-64611e4cf66a", "resource": { "resourceType": "Location", - "id": "1732560947520385000.002d6faf-8054-462d-b3c2-17cef5f937c9", + "id": "1736278971111466950.5a1ef174-0934-4c00-a557-64611e4cf66a", "identifier": [ { "value": "Floor A" @@ -16174,10 +16256,10 @@ } }, { - "fullUrl": "Location/1732560947520622000.ec54c592-0fd8-4cc6-b472-bd37ae789d4c", + "fullUrl": "Location/1736278971111813463.5ae57991-a59a-4fb0-a971-e25c656583a7", "resource": { "resourceType": "Location", - "id": "1732560947520622000.ec54c592-0fd8-4cc6-b472-bd37ae789d4c", + "id": "1736278971111813463.5ae57991-a59a-4fb0-a971-e25c656583a7", "identifier": [ { "value": "Room 101" @@ -16196,10 +16278,10 @@ } }, { - "fullUrl": "Location/1732560947520860000.2766d69c-fb80-4b36-b28a-4974be18add8", + "fullUrl": "Location/1736278971112147913.64d63a60-f054-4cec-9e7f-6d6e6eacc092", "resource": { "resourceType": "Location", - "id": "1732560947520860000.2766d69c-fb80-4b36-b28a-4974be18add8", + "id": "1736278971112147913.64d63a60-f054-4cec-9e7f-6d6e6eacc092", "identifier": [ { "value": "Bed A" @@ -16218,10 +16300,10 @@ } }, { - "fullUrl": "PractitionerRole/1732560947520941000.f4eece44-f1da-4aca-be73-8ec35f36dab6", + "fullUrl": "PractitionerRole/1736278971112326266.da7d2926-d0cd-4ffb-a4d9-6f73bd6529fc", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947520941000.f4eece44-f1da-4aca-be73-8ec35f36dab6", + "id": "1736278971112326266.da7d2926-d0cd-4ffb-a4d9-6f73bd6529fc", "period": { "start": "2023-04-01T10:25:31-04:00", "_start": { @@ -16243,35 +16325,35 @@ } }, "practitioner": { - "reference": "Practitioner/1732560947513689000.989ab7fa-f0bb-4786-b727-a9becbfd1e60" + "reference": "Practitioner/1736278971094448320.a81e57b7-42a2-474e-b439-416780a57fd7" }, "location": [ { - "reference": "Location/1732560947514770000.899f4562-f9db-4c94-bb05-047c9b1e297c" + "reference": "Location/1736278971096940056.efebf7fa-6ab0-4162-bfd7-1e18e0808c90" }, { - "reference": "Location/1732560947519778000.baa0c773-906b-48e3-8494-d317e4765870" + "reference": "Location/1736278971110489901.3a302e12-5744-4104-bc65-23143ee6eb63" }, { - "reference": "Location/1732560947520130000.cbd13489-be1a-49b5-87fb-0674e5abb016" + "reference": "Location/1736278971111000142.592bc27d-e4a3-4142-a70d-b43f6a6e3d0f" }, { - "reference": "Location/1732560947520385000.002d6faf-8054-462d-b3c2-17cef5f937c9" + "reference": "Location/1736278971111466950.5a1ef174-0934-4c00-a557-64611e4cf66a" }, { - "reference": "Location/1732560947520622000.ec54c592-0fd8-4cc6-b472-bd37ae789d4c" + "reference": "Location/1736278971111813463.5ae57991-a59a-4fb0-a971-e25c656583a7" }, { - "reference": "Location/1732560947520860000.2766d69c-fb80-4b36-b28a-4974be18add8" + "reference": "Location/1736278971112147913.64d63a60-f054-4cec-9e7f-6d6e6eacc092" } ] } }, { - "fullUrl": "Practitioner/1732560947521580000.9330085d-9c64-4b23-898d-fc1bc316d586", + "fullUrl": "Practitioner/1736278971113293886.1403a08e-e61a-43a7-9629-ea6d00a386ed", "resource": { "resourceType": "Practitioner", - "id": "1732560947521580000.9330085d-9c64-4b23-898d-fc1bc316d586", + "id": "1736278971113293886.1403a08e-e61a-43a7-9629-ea6d00a386ed", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner", @@ -16338,10 +16420,10 @@ } }, { - "fullUrl": "Location/1732560947521847000.75df0af0-f84c-4d5e-8e52-527efd517da2", + "fullUrl": "Location/1736278971113737117.31bd3d8f-22af-4ba1-8832-6a48ad9cd9f0", "resource": { "resourceType": "Location", - "id": "1732560947521847000.75df0af0-f84c-4d5e-8e52-527efd517da2", + "id": "1736278971113737117.31bd3d8f-22af-4ba1-8832-6a48ad9cd9f0", "identifier": [ { "extension": [ @@ -16388,10 +16470,10 @@ } }, { - "fullUrl": "Location/1732560947522072000.f6938ab7-8e59-4ee2-89d7-8c1661087a27", + "fullUrl": "Location/1736278971114281152.79692832-caf9-4560-800d-a3be34768746", "resource": { "resourceType": "Location", - "id": "1732560947522072000.f6938ab7-8e59-4ee2-89d7-8c1661087a27", + "id": "1736278971114281152.79692832-caf9-4560-800d-a3be34768746", "identifier": [ { "value": "Building 123" @@ -16410,10 +16492,10 @@ } }, { - "fullUrl": "Location/1732560947522403000.efdd2a8b-bfa4-4dd5-83ae-c38648ec1d24", + "fullUrl": "Location/1736278971115174918.79338c1c-eb4c-4314-b9ac-22321cf7c12c", "resource": { "resourceType": "Location", - "id": "1732560947522403000.efdd2a8b-bfa4-4dd5-83ae-c38648ec1d24", + "id": "1736278971115174918.79338c1c-eb4c-4314-b9ac-22321cf7c12c", "identifier": [ { "value": "Point of Care" @@ -16439,10 +16521,10 @@ } }, { - "fullUrl": "Location/1732560947522621000.8fe4d35a-e4c0-49af-8a26-b3d58e3e3da4", + "fullUrl": "Location/1736278971115784462.53259441-31c0-428e-8590-c73546796a0c", "resource": { "resourceType": "Location", - "id": "1732560947522621000.8fe4d35a-e4c0-49af-8a26-b3d58e3e3da4", + "id": "1736278971115784462.53259441-31c0-428e-8590-c73546796a0c", "identifier": [ { "value": "Floor A" @@ -16461,10 +16543,10 @@ } }, { - "fullUrl": "Location/1732560947522844000.32e18ce9-898d-4990-bdb6-eebb57cbf15d", + "fullUrl": "Location/1736278971116312152.1b18a6aa-04dc-4cb7-a7c1-2d392ea77154", "resource": { "resourceType": "Location", - "id": "1732560947522844000.32e18ce9-898d-4990-bdb6-eebb57cbf15d", + "id": "1736278971116312152.1b18a6aa-04dc-4cb7-a7c1-2d392ea77154", "identifier": [ { "value": "Room 101" @@ -16483,10 +16565,10 @@ } }, { - "fullUrl": "Location/1732560947523077000.606ef017-d450-4f80-be05-3bffc19531e4", + "fullUrl": "Location/1736278971116844576.546144d5-0c0c-4eb3-bea6-ceac9ea5d0d8", "resource": { "resourceType": "Location", - "id": "1732560947523077000.606ef017-d450-4f80-be05-3bffc19531e4", + "id": "1736278971116844576.546144d5-0c0c-4eb3-bea6-ceac9ea5d0d8", "identifier": [ { "value": "Bed A" @@ -16505,10 +16587,10 @@ } }, { - "fullUrl": "PractitionerRole/1732560947523162000.7c84ee7b-bdc3-4795-a183-d2c5bec9e2be", + "fullUrl": "PractitionerRole/1736278971117002634.2278933f-f1b9-4578-9400-7dd07318a34f", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947523162000.7c84ee7b-bdc3-4795-a183-d2c5bec9e2be", + "id": "1736278971117002634.2278933f-f1b9-4578-9400-7dd07318a34f", "period": { "start": "2023-04-01T10:25:31-04:00", "_start": { @@ -16530,35 +16612,35 @@ } }, "practitioner": { - "reference": "Practitioner/1732560947521580000.9330085d-9c64-4b23-898d-fc1bc316d586" + "reference": "Practitioner/1736278971113293886.1403a08e-e61a-43a7-9629-ea6d00a386ed" }, "location": [ { - "reference": "Location/1732560947521847000.75df0af0-f84c-4d5e-8e52-527efd517da2" + "reference": "Location/1736278971113737117.31bd3d8f-22af-4ba1-8832-6a48ad9cd9f0" }, { - "reference": "Location/1732560947522072000.f6938ab7-8e59-4ee2-89d7-8c1661087a27" + "reference": "Location/1736278971114281152.79692832-caf9-4560-800d-a3be34768746" }, { - "reference": "Location/1732560947522403000.efdd2a8b-bfa4-4dd5-83ae-c38648ec1d24" + "reference": "Location/1736278971115174918.79338c1c-eb4c-4314-b9ac-22321cf7c12c" }, { - "reference": "Location/1732560947522621000.8fe4d35a-e4c0-49af-8a26-b3d58e3e3da4" + "reference": "Location/1736278971115784462.53259441-31c0-428e-8590-c73546796a0c" }, { - "reference": "Location/1732560947522844000.32e18ce9-898d-4990-bdb6-eebb57cbf15d" + "reference": "Location/1736278971116312152.1b18a6aa-04dc-4cb7-a7c1-2d392ea77154" }, { - "reference": "Location/1732560947523077000.606ef017-d450-4f80-be05-3bffc19531e4" + "reference": "Location/1736278971116844576.546144d5-0c0c-4eb3-bea6-ceac9ea5d0d8" } ] } }, { - "fullUrl": "Practitioner/1732560947526641000.f9f859f3-9bf8-411e-8112-33b23d353c7e", + "fullUrl": "Practitioner/1736278971125011481.d441fd96-5d25-4c92-8228-0b0f3d2a0916", "resource": { "resourceType": "Practitioner", - "id": "1732560947526641000.f9f859f3-9bf8-411e-8112-33b23d353c7e", + "id": "1736278971125011481.d441fd96-5d25-4c92-8228-0b0f3d2a0916", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -16707,10 +16789,10 @@ } }, { - "fullUrl": "Practitioner/1732560947527932000.3ca1d3ad-62cd-41ed-9062-5fad5b91e7c3", + "fullUrl": "Practitioner/1736278971127445334.2a57bff1-5a0d-4063-b766-fadae67a6373", "resource": { "resourceType": "Practitioner", - "id": "1732560947527932000.3ca1d3ad-62cd-41ed-9062-5fad5b91e7c3", + "id": "1736278971127445334.2a57bff1-5a0d-4063-b766-fadae67a6373", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", From 03fc8b43e76ba4677424b44b575895834f30c3ec Mon Sep 17 00:00:00 2001 From: Joel Biskie Date: Wed, 8 Jan 2025 12:05:54 -0600 Subject: [PATCH 5/9] Add PD1-4 to PD1 test --- .../pd1-to-patient-pd1-14-1-populated.fhir | 3373 ++++++++++------- .../pd1/pd1-to-patient-pd1-14-1-populated.hl7 | 2 +- 2 files changed, 2019 insertions(+), 1356 deletions(-) diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir index 6029112e55b..a2d73878ddb 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir @@ -1,1400 +1,2063 @@ { - "resourceType" : "Bundle", - "id" : "1710883409045901000.0a9fa4af-2513-4656-87a3-4982043ee216", - "meta" : { - "lastUpdated" : "2024-03-19T15:23:29.056-06:00" + "resourceType": "Bundle", + "id": "1736358951656088648.b7c165c0-b732-4d06-84e7-4fb3bbcfa01c", + "meta": { + "lastUpdated": "2025-01-08T17:55:51.668+00:00" }, - "identifier" : { - "system" : "https://reportstream.cdc.gov/prime-router", - "value" : "12345" + "identifier": { + "system": "https://reportstream.cdc.gov/prime-router", + "value": "12345" }, - "type" : "message", - "timestamp" : "2023-05-01T08:25:31.000-06:00", - "entry" : [ { - "fullUrl" : "MessageHeader/827ccb0e-ea8a-306c-8c34-a16891f84e7b", - "resource" : { - "resourceType" : "MessageHeader", - "id" : "827ccb0e-ea8a-306c-8c34-a16891f84e7b", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/encoding-characters", - "valueString" : "^~\\&#" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/character-set", - "valueString" : "UNICODE UTF-8" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header", - "extension" : [ { - "url" : "MSH.7", - "valueString" : "20230501102531-0400" - } ] - } ], - "eventCoding" : { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0003", - "code" : "R01", - "display" : "ORU^R01^ORU_R01" - }, - "sender" : { - "reference" : "Organization/1710883409133355000.eb6e0e16-11c9-4b64-a51c-8c43e4774454" + "type": "message", + "timestamp": "2023-05-01T14:25:31.000+00:00", + "entry": [ + { + "fullUrl": "MessageHeader/1736358951916567731.f0195860-0bdc-4f89-b007-fc30741d8f94", + "resource": { + "resourceType": "MessageHeader", + "id": "1736358951916567731.f0195860-0bdc-4f89-b007-fc30741d8f94", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/encoding-characters", + "valueString": "^~\\&#" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/character-set", + "valueString": "UNICODE UTF-8" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header", + "extension": [ + { + "url": "MSH.7", + "valueString": "20230501102531-0400" + } + ] + } + ], + "eventCoding": { + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "code": "R01", + "display": "ORU^R01^ORU_R01" + }, + "sender": { + "reference": "Organization/1736358951905013610.902a09d5-2894-40dd-95c8-9a6691cd7ee9" + } } - } - }, { - "fullUrl" : "Organization/1710883409133355000.eb6e0e16-11c9-4b64-a51c-8c43e4774454", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409133355000.eb6e0e16-11c9-4b64-a51c-8c43e4774454", - "address" : [ { - "country" : "USA" - } ] - } - }, { - "fullUrl" : "Provenance/1710883409710462000.c7727838-4f44-429c-9335-c5e3f293ddab", - "resource" : { - "resourceType" : "Provenance", - "id" : "1710883409710462000.c7727838-4f44-429c-9335-c5e3f293ddab", - "target" : [ { - "reference" : "MessageHeader/827ccb0e-ea8a-306c-8c34-a16891f84e7b" - }, { - "reference" : "DiagnosticReport/1710883410209258000.106605c3-d100-4300-813b-48b7adaac54c" - } ], - "recorded" : "2023-05-01T10:25:31-04:00", - "activity" : { - "coding" : [ { - "display" : "ORU^R01^ORU_R01" - } ] + }, + { + "fullUrl": "Organization/1736358951905013610.902a09d5-2894-40dd-95c8-9a6691cd7ee9", + "resource": { + "resourceType": "Organization", + "id": "1736358951905013610.902a09d5-2894-40dd-95c8-9a6691cd7ee9", + "address": [ + { + "country": "USA" + } + ] } - } - }, { - "fullUrl" : "Provenance/1710883409722169000.becd8e80-c0cc-48b6-a24d-2706de5b0963", - "resource" : { - "resourceType" : "Provenance", - "id" : "1710883409722169000.becd8e80-c0cc-48b6-a24d-2706de5b0963", - "recorded" : "2024-03-19T15:23:29Z", - "policy" : [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], - "activity" : { - "coding" : [ { - "code" : "v2-FHIR transformation" - } ] - }, - "agent" : [ { - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type", - "code" : "assembler" - } ] - }, - "who" : { - "reference" : "Organization/1710883409721231000.d5566bb2-f7ba-4f45-86d3-2a8d20ef5a56" + }, + { + "fullUrl": "Provenance/1736358952071011885.8b4c03e3-23aa-4169-92aa-812ea3dcccaa", + "resource": { + "resourceType": "Provenance", + "id": "1736358952071011885.8b4c03e3-23aa-4169-92aa-812ea3dcccaa", + "target": [ + { + "reference": "MessageHeader/1736358951916567731.f0195860-0bdc-4f89-b007-fc30741d8f94" + }, + { + "reference": "DiagnosticReport/1736358952689539033.62e6c6d0-de0d-47bc-9ae4-8d855eb07890" + } + ], + "recorded": "2023-05-01T10:25:31-04:00", + "activity": { + "coding": [ + { + "display": "ORU^R01^ORU_R01" + } + ] } - } ] - } - }, { - "fullUrl" : "Organization/1710883409721231000.d5566bb2-f7ba-4f45-86d3-2a8d20ef5a56", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409721231000.d5566bb2-f7ba-4f45-86d3-2a8d20ef5a56", - "identifier" : [ { - "value" : "CDC PRIME - Atlanta" - }, { - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0301" - } ] + } + }, + { + "fullUrl": "Provenance/1736358952087726118.ead2b8ad-b8da-4bb5-b653-9a7b64e44be3", + "resource": { + "resourceType": "Provenance", + "id": "1736358952087726118.ead2b8ad-b8da-4bb5-b653-9a7b64e44be3", + "recorded": "2025-01-08T17:55:52Z", + "policy": [ + "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" + ], + "activity": { + "coding": [ + { + "code": "v2-FHIR transformation" + } + ] }, - "system" : "urn:ietf:rfc:3986", - "value" : "2.16.840.1.114222.4.1.237821" - } ] - } - }, { - "fullUrl" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516", - "resource" : { - "resourceType" : "Patient", - "id" : "1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/studentStatus", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70231" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Full-time student" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70231" - } ], - "version" : "2.5.1", - "code" : "N", - "display" : "Not a student" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70231" - } ], - "version" : "4", - "code" : "N", - "display" : "Not a student" - } ], - "text" : "TEST" - } - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/patient-disability", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70295" - } ], - "version" : "2.5.1", - "code" : "T", - "display" : "TEST" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70295" - } ], - "version" : "2.5.1", - "code" : "D", - "display" : "Debug" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70295" - } ], - "version" : "4", - "code" : "P", - "display" : "Prod" - } ], - "text" : "TEST" - } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/livingWill", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70315" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Yes, patient has a living will but it is not on file" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70315" - } ], - "version" : "2.5.1", - "code" : "U", - "display" : "Unknown" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70315" - } ], - "version" : "4", - "code" : "I", - "display" : "No, patient does not have a living will but information was provided" - } ], - "text" : "TEST" - } - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString" : "1st Ordering Facility" - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString" : "2nd Ordering Facility" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pd1-patient-additional-demographic", - "extension" : [ { - "url" : "PD1.1", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "C", - "display" : "Small Children Dependent" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "M", - "display" : "Medical Supervision Required" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "4", - "code" : "M", - "display" : "Medical Supervision Required" - } ], - "text" : "TEST" + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "assembler" + } + ] + }, + "who": { + "reference": "Organization/1736358952086145916.c938fd70-b7f7-4732-8e24-310081774b89" + } } - }, { - "url" : "PD1.1", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "O", - "display" : "Other" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "M", - "display" : "Medical Supervision Required" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "4", - "code" : "U", - "display" : "Unknown" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Organization/1736358952086145916.c938fd70-b7f7-4732-8e24-310081774b89", + "resource": { + "resourceType": "Organization", + "id": "1736358952086145916.c938fd70-b7f7-4732-8e24-310081774b89", + "identifier": [ + { + "value": "CDC PRIME - Atlanta" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.114222.4.1.237821" } - }, { - "url" : "PD1.2", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70220" - } ], - "version" : "2.5.1", - "code" : "A", - "display" : "Alone" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70220" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Family" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70220" - } ], - "version" : "4", - "code" : "F", - "display" : "Family" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95", + "resource": { + "resourceType": "Patient", + "id": "1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/studentStatus", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70231" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Full-time student" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70231" + } + ], + "version": "2.5.1", + "code": "N", + "display": "Not a student" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70231" + } + ], + "version": "4", + "code": "N", + "display": "Not a student" + } + ], + "text": "TEST" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-disability", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70295" + } + ], + "version": "2.5.1", + "code": "T", + "display": "TEST" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70295" + } + ], + "version": "2.5.1", + "code": "D", + "display": "Debug" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70295" + } + ], + "version": "4", + "code": "P", + "display": "Prod" + } + ], + "text": "TEST" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/livingWill", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70315" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Yes, patient has a living will but it is not on file" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70315" + } + ], + "version": "2.5.1", + "code": "U", + "display": "Unknown" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70315" + } + ], + "version": "4", + "code": "I", + "display": "No, patient does not have a living will but information was provided" + } + ], + "text": "TEST" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "1st Ordering Facility" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "2nd Ordering Facility" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pd1-patient-additional-demographic", + "extension": [ + { + "url": "PD1.1", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "C", + "display": "Small Children Dependent" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "M", + "display": "Medical Supervision Required" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "4", + "code": "M", + "display": "Medical Supervision Required" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.1", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "O", + "display": "Other" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "M", + "display": "Medical Supervision Required" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "4", + "code": "U", + "display": "Unknown" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.2", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70220" + } + ], + "version": "2.5.1", + "code": "A", + "display": "Alone" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70220" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Family" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70220" + } + ], + "version": "4", + "code": "F", + "display": "Family" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.16", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70441" + } + ], + "version": "2.5.1", + "code": "A", + "display": "Active" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70441" + } + ], + "version": "2.5.1", + "code": "O", + "display": "Other" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70441" + } + ], + "version": "4", + "code": "I", + "display": "Inactive" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.17", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.18", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.19", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70140" + } + ], + "version": "2.5.1", + "code": "AUSA", + "display": "Australian Army" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70140" + } + ], + "version": "2.5.1", + "code": "AUSN", + "display": "Australian Navy" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70140" + } + ], + "version": "4", + "code": "AUSFA", + "display": "Australian Air Force" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.20", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70141" + } + ], + "version": "2.5.1", + "code": "E1... E9", + "display": "Enlisted" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70141" + } + ], + "version": "2.5.1", + "code": "W1 ... W4", + "display": "Warrent Officers" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70141" + } + ], + "version": "4", + "code": "O1 ... O9", + "display": "Officers" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.21", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70142" + } + ], + "version": "2.5.1", + "code": "ACT", + "display": "Active duty" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70142" + } + ], + "version": "2.5.1", + "code": "RET", + "display": "Retired" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70142" + } + ], + "version": "4", + "code": "DEC", + "display": "Deceased" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.22", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.8", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70316" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Yes, patient is a documented donor, but documentation is not on file" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70316" + } + ], + "version": "2.5.1", + "code": "U", + "display": "Unknown" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70316" + } + ], + "version": "4", + "code": "I", + "display": "No, patient is not a documented donor, but information was provided" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.9", + "valueString": "N" + }, + { + "url": "PD1.10", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", + "valueReference": { + "reference": "Organization/1736358952142470650.ccb6d41d-7544-41a4-b786-a80ff6cbd364" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "MR" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "PD1.10" + } + ], + "type": { + "coding": [ + { + "code": "MR" + } + ] + }, + "system": "NIST MPI", + "_system": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NIST MPI" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.113883.3.72.5.30.2" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueString": "ISO" + } + ] + }, + "value": "18547545" + } + }, + { + "url": "PD1.10", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", + "valueReference": { + "reference": "Organization/1736358952144431626.5e7a1c9d-5402-49de-ac56-a42519025842" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SS" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "PD1.10" + } + ], + "type": { + "coding": [ + { + "code": "SS" + } + ] + }, + "system": "SSN", + "_system": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "SSN" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.113883.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueString": "ISO" + } + ] + }, + "value": "111111111" + } + }, + { + "url": "PD1.11", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70215" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Family only" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70215" + } + ], + "version": "2.5.1", + "code": "U", + "display": "Unknown" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70215" + } + ], + "version": "4", + "code": "N", + "display": "No Publicity" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.12", + "valueString": "N" + }, + { + "url": "PD1.13", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.14", + "valueReference": { + "reference": "Organization/1736358952149299645.a83a5c52-9dcd-42d7-90c1-a10c7a1f9dba" + } + }, + { + "url": "PD1.14", + "valueReference": { + "reference": "Organization/1736358952151517945.21a783d4-3bcd-4373-95fb-02e5eae6dbf4" + } + }, + { + "url": "PD1.15", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "version": "2.5.1", + "code": "DNR", + "display": "Do not resuscitate" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "version": "2.5.1", + "code": "N", + "display": "No directive" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "version": "4", + "code": "N", + "display": "No directive" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.15", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "code": "DNR", + "display": "Do not resuscitate" + } + ] + } + } + ] } - }, { - "url" : "PD1.16", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70441" - } ], - "version" : "2.5.1", - "code" : "A", - "display" : "Active" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70441" - } ], - "version" : "2.5.1", - "code" : "O", - "display" : "Other" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70441" - } ], - "version" : "4", - "code" : "I", - "display" : "Inactive" - } ], - "text" : "TEST" + ], + "generalPractitioner": [ + { + "reference": "Organization/1736358952164152679.4e493b07-5ae5-4231-bd62-d5f7f7741fc8" + }, + { + "reference": "Organization/1736358952165738008.f216127f-70e1-45e6-8964-c942162944aa" + }, + { + "reference": "Practitioner/1736358952169738910.fc9411dc-931a-43fe-bc03-c98d6051775f" + }, + { + "reference": "Practitioner/1736358952170981056.50c9e850-57b4-4ed5-b853-602a9ed47608" } - }, { - "url" : "PD1.17", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.18", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.19", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70140" - } ], - "version" : "2.5.1", - "code" : "AUSA", - "display" : "Australian Army" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70140" - } ], - "version" : "2.5.1", - "code" : "AUSN", - "display" : "Australian Navy" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70140" - } ], - "version" : "4", - "code" : "AUSFA", - "display" : "Australian Air Force" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Organization/1736358952142470650.ccb6d41d-7544-41a4-b786-a80ff6cbd364", + "resource": { + "resourceType": "Organization", + "id": "1736358952142470650.ccb6d41d-7544-41a4-b786-a80ff6cbd364", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "University H" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.0" } - }, { - "url" : "PD1.20", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70141" - } ], - "version" : "2.5.1", - "code" : "E1... E9", - "display" : "Enlisted" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70141" - } ], - "version" : "2.5.1", - "code" : "W1 ... W4", - "display" : "Warrent Officers" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70141" - } ], - "version" : "4", - "code" : "O1 ... O9", - "display" : "Officers" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Organization/1736358952144431626.5e7a1c9d-5402-49de-ac56-a42519025842", + "resource": { + "resourceType": "Organization", + "id": "1736358952144431626.5e7a1c9d-5402-49de-ac56-a42519025842", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "SSA" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.184" } - }, { - "url" : "PD1.21", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70142" - } ], - "version" : "2.5.1", - "code" : "ACT", - "display" : "Active duty" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70142" - } ], - "version" : "2.5.1", - "code" : "RET", - "display" : "Retired" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70142" - } ], - "version" : "4", - "code" : "DEC", - "display" : "Deceased" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Location/1736358952147814512.dd6bae70-a3a1-47d7-8cfc-1f09770b8909", + "resource": { + "resourceType": "Location", + "id": "1736358952147814512.dd6bae70-a3a1-47d7-8cfc-1f09770b8909", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" } - }, { - "url" : "PD1.22", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.8", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70316" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Yes, patient is a documented donor, but documentation is not on file" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70316" - } ], - "version" : "2.5.1", - "code" : "U", - "display" : "Unknown" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70316" - } ], - "version" : "4", - "code" : "I", - "display" : "No, patient is not a documented donor, but information was provided" - } ], - "text" : "TEST" + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" } - }, { - "url" : "PD1.9", - "valueString" : "N" - }, { - "url" : "PD1.10", - "valueIdentifier" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", - "valueReference" : { - "reference" : "Organization/1710883409778898000.0cd60631-039e-4651-b25e-be3c97657db8" + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952149299645.a83a5c52-9dcd-42d7-90c1-a10c7a1f9dba", + "resource": { + "resourceType": "Organization", + "id": "1736358952149299645.a83a5c52-9dcd-42d7-90c1-a10c7a1f9dba", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText" + } + ], + "text": "OriginalText" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "1st OrgIdentifier" } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", - "extension" : [ { - "url" : "CX.5", - "valueString" : "MR" - } ] - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "PD1.10" - } ], - "type" : { - "coding" : [ { - "code" : "MR" - } ] - }, - "system" : "NIST MPI", - "_system" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "NIST MPI" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.16.840.1.113883.3.72.5.30.2" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueString" : "ISO" - } ] + ] + } + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952147814512.dd6bae70-a3a1-47d7-8cfc-1f09770b8909" + } + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] }, - "value" : "18547545" + "value": "1st OrgIdentifier" + } + ], + "name": "1st Ordering Facility" + } + }, + { + "fullUrl": "Location/1736358952150265608.da3ab135-86f8-4bb8-acd4-15da11ac1194", + "resource": { + "resourceType": "Location", + "id": "1736358952150265608.da3ab135-86f8-4bb8-acd4-15da11ac1194", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" } - }, { - "url" : "PD1.10", - "valueIdentifier" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", - "valueReference" : { - "reference" : "Organization/1710883409781592000.1e33014c-701c-4af1-8d28-5dc91415284c" + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" + } + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952151517945.21a783d4-3bcd-4373-95fb-02e5eae6dbf4", + "resource": { + "resourceType": "Organization", + "id": "1736358952151517945.21a783d4-3bcd-4373-95fb-02e5eae6dbf4", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText" + } + ], + "text": "OriginalText" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "2nd OrgIdentifier" + } + ] + } + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952150265608.da3ab135-86f8-4bb8-acd4-15da11ac1194" + } } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", - "extension" : [ { - "url" : "CX.5", - "valueString" : "SS" - } ] - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "PD1.10" - } ], - "type" : { - "coding" : [ { - "code" : "SS" - } ] + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] }, - "system" : "SSN", - "_system" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "SSN" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.16.840.1.113883.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueString" : "ISO" - } ] + "value": "2nd OrgIdentifier" + } + ], + "name": "2nd Ordering Facility" + } + }, + { + "fullUrl": "Location/1736358952163064929.ab0ea3cf-a4a0-4465-a2fd-bdfa5605da9b", + "resource": { + "resourceType": "Location", + "id": "1736358952163064929.ab0ea3cf-a4a0-4465-a2fd-bdfa5605da9b", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" + } + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952164152679.4e493b07-5ae5-4231-bd62-d5f7f7741fc8", + "resource": { + "resourceType": "Organization", + "id": "1736358952164152679.4e493b07-5ae5-4231-bd62-d5f7f7741fc8", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText" + } + ], + "text": "OriginalText" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "OrgIdentifier" + } + ] + } + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952163064929.ab0ea3cf-a4a0-4465-a2fd-bdfa5605da9b" + } + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] }, - "value" : "111111111" + "value": "OrgIdentifier" } - }, { - "url" : "PD1.11", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70215" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Family only" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70215" - } ], - "version" : "2.5.1", - "code" : "U", - "display" : "Unknown" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70215" - } ], - "version" : "4", - "code" : "N", - "display" : "No Publicity" - } ], - "text" : "TEST" + ], + "name": "Ordering Facility" + } + }, + { + "fullUrl": "Location/1736358952164801277.e7d10d7b-0af7-46be-b2f3-b240a63025fa", + "resource": { + "resourceType": "Location", + "id": "1736358952164801277.e7d10d7b-0af7-46be-b2f3-b240a63025fa", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" } - }, { - "url" : "PD1.12", - "valueString" : "N" - }, { - "url" : "PD1.13", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.14", - "valueReference" : { - "reference" : "Organization/1710883409788424000.e01fcecb-2ddd-45c0-addc-473ed8af7845" + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" } - }, { - "url" : "PD1.14", - "valueReference" : { - "reference" : "Organization/1710883409792047000.4217c0aa-3c0c-485c-bc38-29027e6c6e06" + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952165738008.f216127f-70e1-45e6-8964-c942162944aa", + "resource": { + "resourceType": "Organization", + "id": "1736358952165738008.f216127f-70e1-45e6-8964-c942162944aa", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText2" + } + ], + "text": "OriginalText2" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "OrgIdentifier" + } + ] } - }, { - "url" : "PD1.15", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "version" : "2.5.1", - "code" : "DNR", - "display" : "Do not resuscitate" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "version" : "2.5.1", - "code" : "N", - "display" : "No directive" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "version" : "4", - "code" : "N", - "display" : "No directive" - } ], - "text" : "TEST" + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit2" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952164801277.e7d10d7b-0af7-46be-b2f3-b240a63025fa" + } + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] + }, + "value": "OrgIdentifier" } - }, { - "url" : "PD1.15", - "valueCodeableConcept" : { - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "code" : "DNR", - "display" : "Do not resuscitate" - } ] + ], + "name": "Ordering Facility2" + } + }, + { + "fullUrl": "Organization/1736358952166234750.7807e1ff-7076-4c7c-b0eb-3b01cc7948b9", + "resource": { + "resourceType": "Organization", + "id": "1736358952166234750.7807e1ff-7076-4c7c-b0eb-3b01cc7948b9", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "NPI" } - } ] - } ], - "generalPractitioner" : [ { - "reference" : "Organization/1710883409742681000.4c2d54fd-ccd7-415c-be2a-0ef419b787d6" - }, { - "reference" : "Organization/1710883409749713000.7e55a44b-d848-457a-8d25-52b81ce7ffe5" - } ] - } - }, { - "fullUrl" : "Location/1710883409739008000.7d05424b-d62d-4385-b1da-f224dba429bf", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409739008000.7d05424b-d62d-4385-b1da-f224dba429bf", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ] } - } - }, { - "fullUrl" : "Organization/1710883409742681000.4c2d54fd-ccd7-415c-be2a-0ef419b787d6", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409742681000.4c2d54fd-ccd7-415c-be2a-0ef419b787d6", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText" - } ], - "text" : "OriginalText" + }, + { + "fullUrl": "Practitioner/1736358952169738910.fc9411dc-931a-43fe-bc03-c98d6051775f", + "resource": { + "resourceType": "Practitioner", + "id": "1736358952169738910.fc9411dc-931a-43fe-bc03-c98d6051775f", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "PD1.4NameGiven1" + }, + { + "url": "XCN.4", + "valueString": "PD1.4NameInit1" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "value": "1111111111", + "assigner": { + "reference": "Organization/1736358952166234750.7807e1ff-7076-4c7c-b0eb-3b01cc7948b9" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409739008000.7d05424b-d62d-4385-b1da-f224dba429bf" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] - }, - "value" : "OrgIdentifier" - } ], - "name" : "Ordering Facility" - } - }, { - "fullUrl" : "Location/1710883409745200000.34c2ceeb-a474-4c7d-8936-0b2c9fcd956a", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409745200000.34c2ceeb-a474-4c7d-8936-0b2c9fcd956a", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ], + "name": [ + { + "family": "PD1.4NameFamily1", + "given": [ + "PD1.4NameGiven1", + "PD1.4NameInit1" + ] + } + ] } - } - }, { - "fullUrl" : "Organization/1710883409749713000.7e55a44b-d848-457a-8d25-52b81ce7ffe5", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409749713000.7e55a44b-d848-457a-8d25-52b81ce7ffe5", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText2" - } ], - "text" : "OriginalText2" + }, + { + "fullUrl": "Organization/1736358952170088748.9c1812ae-e589-44f6-9b3b-fa6dc280bbb4", + "resource": { + "resourceType": "Organization", + "id": "1736358952170088748.9c1812ae-e589-44f6-9b3b-fa6dc280bbb4", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "NPI" + } + ] + } + }, + { + "fullUrl": "Practitioner/1736358952170981056.50c9e850-57b4-4ed5-b853-602a9ed47608", + "resource": { + "resourceType": "Practitioner", + "id": "1736358952170981056.50c9e850-57b4-4ed5-b853-602a9ed47608", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "PD1.4NameGiven2" + }, + { + "url": "XCN.4", + "valueString": "PD1.4NameInit2" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "value": "2222222222", + "assigner": { + "reference": "Organization/1736358952170088748.9c1812ae-e589-44f6-9b3b-fa6dc280bbb4" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit2" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409745200000.34c2ceeb-a474-4c7d-8936-0b2c9fcd956a" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] - }, - "value" : "OrgIdentifier" - } ], - "name" : "Ordering Facility2" - } - }, { - "fullUrl" : "Organization/1710883409778898000.0cd60631-039e-4651-b25e-be3c97657db8", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409778898000.0cd60631-039e-4651-b25e-be3c97657db8", - "identifier" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.1" - } ], - "value" : "University H" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.2,HD.3" - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0301", - "code" : "ISO" - } ] - }, - "system" : "urn:ietf:rfc:3986", - "value" : "2.16.840.1.113883.3.0" - } ] - } - }, { - "fullUrl" : "Organization/1710883409781592000.1e33014c-701c-4af1-8d28-5dc91415284c", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409781592000.1e33014c-701c-4af1-8d28-5dc91415284c", - "identifier" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.1" - } ], - "value" : "SSA" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.2,HD.3" - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0301", - "code" : "ISO" - } ] - }, - "system" : "urn:ietf:rfc:3986", - "value" : "2.16.840.1.113883.3.184" - } ] - } - }, { - "fullUrl" : "Location/1710883409786390000.3dc26e87-7d9b-425d-b2b4-9dce9ed5706a", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409786390000.3dc26e87-7d9b-425d-b2b4-9dce9ed5706a", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ], + "name": [ + { + "family": "PD1.4NameFamily2", + "given": [ + "PD1.4NameGiven2", + "PD1.4NameInit2" + ] + } + ] } - } - }, { - "fullUrl" : "Organization/1710883409788424000.e01fcecb-2ddd-45c0-addc-473ed8af7845", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409788424000.e01fcecb-2ddd-45c0-addc-473ed8af7845", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText" - } ], - "text" : "OriginalText" + }, + { + "fullUrl": "Provenance/1736358952179900296.a5b0c1ed-5a70-4165-994f-8397275cb363", + "resource": { + "resourceType": "Provenance", + "id": "1736358952179900296.a5b0c1ed-5a70-4165-994f-8397275cb363", + "target": [ + { + "reference": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95" + } + ], + "recorded": "2025-01-08T17:55:52Z", + "activity": { + "coding": [ + { + "system": "https://terminology.hl7.org/CodeSystem/v3-DataOperation", + "code": "UPDATE" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" + ] } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "1st OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409786390000.3dc26e87-7d9b-425d-b2b4-9dce9ed5706a" + } + }, + { + "fullUrl": "Specimen/1736358952181752451.be4b2aea-59d7-42a1-9b3a-82d0b24b7dbf", + "resource": { + "resourceType": "Specimen", + "id": "1736358952181752451.be4b2aea-59d7-42a1-9b3a-82d0b24b7dbf", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", + "valueString": "OBR" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] - }, - "value" : "1st OrgIdentifier" - } ], - "name" : "1st Ordering Facility" - } - }, { - "fullUrl" : "Location/1710883409790252000.1da4fb62-dee0-4234-9e0c-58282b9077d6", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409790252000.1da4fb62-dee0-4234-9e0c-58282b9077d6", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ] } - } - }, { - "fullUrl" : "Organization/1710883409792047000.4217c0aa-3c0c-485c-bc38-29027e6c6e06", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409792047000.4217c0aa-3c0c-485c-bc38-29027e6c6e06", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText" - } ], - "text" : "OriginalText" + }, + { + "fullUrl": "ServiceRequest/1736358952682459320.3bbc54ee-a645-45e4-9cf4-c5555b3459cc", + "resource": { + "resourceType": "ServiceRequest", + "id": "1736358952682459320.3bbc54ee-a645-45e4-9cf4-c5555b3459cc", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request", + "extension": [ + { + "url": "OBR.25", + "valueId": "F" + } + ] + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "TEST" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" + ] + }, + "subject": { + "reference": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95" } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "2nd OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409790252000.1da4fb62-dee0-4234-9e0c-58282b9077d6" + } + }, + { + "fullUrl": "DiagnosticReport/1736358952689539033.62e6c6d0-de0d-47bc-9ae4-8d855eb07890", + "resource": { + "resourceType": "DiagnosticReport", + "id": "1736358952689539033.62e6c6d0-de0d-47bc-9ae4-8d855eb07890", + "basedOn": [ + { + "reference": "ServiceRequest/1736358952682459320.3bbc54ee-a645-45e4-9cf4-c5555b3459cc" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] + ], + "status": "final", + "code": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "TEST" + } + ] }, - "value" : "2nd OrgIdentifier" - } ], - "name" : "2nd Ordering Facility" - } - }, { - "fullUrl" : "Provenance/1710883409817956000.5a715a58-e463-4f21-be0a-6aeedaeb2720", - "resource" : { - "resourceType" : "Provenance", - "id" : "1710883409817956000.5a715a58-e463-4f21-be0a-6aeedaeb2720", - "target" : [ { - "reference" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516" - } ], - "recorded" : "2024-03-19T15:23:29Z", - "activity" : { - "coding" : [ { - "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation", - "code" : "UPDATE" - } ] - } - } - }, { - "fullUrl" : "Specimen/1710883409820128000.8822d486-ff25-40bd-9731-47353fa398bd", - "resource" : { - "resourceType" : "Specimen", - "id" : "1710883409820128000.8822d486-ff25-40bd-9731-47353fa398bd", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", - "valueString" : "OBR" - } ] - } - }, { - "fullUrl" : "ServiceRequest/1710883410203615000.b42d7a87-086a-487d-89d6-36c77f137edb", - "resource" : { - "resourceType" : "ServiceRequest", - "id" : "1710883410203615000.b42d7a87-086a-487d-89d6-36c77f137edb", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request", - "extension" : [ { - "url" : "OBR.25", - "valueId" : "F" - } ] - } ], - "status" : "unknown", - "code" : { - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - } ], - "code" : "TEST" - } ] - }, - "subject" : { - "reference" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516" + "subject": { + "reference": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95" + }, + "specimen": [ + { + "reference": "Specimen/1736358952181752451.be4b2aea-59d7-42a1-9b3a-82d0b24b7dbf" + } + ] } } - }, { - "fullUrl" : "DiagnosticReport/1710883410209258000.106605c3-d100-4300-813b-48b7adaac54c", - "resource" : { - "resourceType" : "DiagnosticReport", - "id" : "1710883410209258000.106605c3-d100-4300-813b-48b7adaac54c", - "basedOn" : [ { - "reference" : "ServiceRequest/1710883410203615000.b42d7a87-086a-487d-89d6-36c77f137edb" - } ], - "status" : "final", - "code" : { - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - } ], - "code" : "TEST" - } ] - }, - "subject" : { - "reference" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516" - }, - "specimen" : [ { - "reference" : "Specimen/1710883409820128000.8822d486-ff25-40bd-9731-47353fa398bd" - } ] - } - } ] + ] } \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 index 99406692a03..5a2364e6e7a 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 @@ -1,4 +1,4 @@ MSH|^~\&#|||||20230501102531-0400||ORU^R01^ORU_R01|12345||2.5.1|||||USA|UNICODE UTF-8 PID|1 -PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility2^1234-5&TestText&LN&1234-5&TestAltText2&LN&1&2&OriginalText2^123^Check Digit2^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier||F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 +PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility2^1234-5&TestText&LN&1234-5&TestAltText2&LN&1&2&OriginalText2^123^Check Digit2^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier|1111111111^PD1.4NameFamily1^PD1.4NameGiven1^PD1.4NameInit1^^^^^NPI^^^^NPI~2222222222^PD1.4NameFamily2^PD1.4NameGiven2^PD1.4NameInit2^^^^^NPI^^^^NPI|F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 OBR|1|||TEST|||||||||||||||||||||F \ No newline at end of file From ce1da1f385b49c4c7a7327a9ec2db73ff398d198 Mon Sep 17 00:00:00 2001 From: Joel Biskie Date: Wed, 8 Jan 2025 12:15:13 -0600 Subject: [PATCH 6/9] Update comments related to PD1-4 --- prime-router/docs/design/design/HL7v2-FHIR-Inventory.md | 3 +-- .../metadata/HL7/catchall/hl7/segments/PID/Patient.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md b/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md index 3a38116943d..f6bad801178 100644 --- a/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md +++ b/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md @@ -146,8 +146,7 @@ implementation differs from what is in the spreadsheets. ### PD1 -> Patient -- PD1.4 is deprecated in the HL7v2.7 and NIST HL7v2.5.1 specs. Further, the HAPI v2.7 model has set both fields to - NULLDT. Thus, this field is not being mapped. +- PD1.4 Backwards compatible in NIST. Needed for ETOR NBS use case. Mapped to Patient.generalPractitioner. ### PV1 -> Patient diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml index c3fd2608cae..cf9fd031117 100644 --- a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml +++ b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml @@ -18,7 +18,7 @@ resourceType: Patient # to Patient.link which includes a reference to RelatedPerson -# - PD1.4 Deprecated in NIST, set to NullDT in HAPI. Field not mapped +# - PD1.4 Backwards compatible in NIST. Needed for ETOR NBS use case. Mapped to Patient.generalPractitioner. id: type: STRING From a1b5b22fe2c0e61bab3ad5c0adc0153d1c1ede53 Mon Sep 17 00:00:00 2001 From: Joel Biskie Date: Thu, 9 Jan 2025 16:30:51 -0600 Subject: [PATCH 7/9] Update OML FHIR test file to incorporate both IN1 and PD1-4 changes --- .../catchall/omlo21/oml_o21-full.fhir | 1374 +++++++++-------- 1 file changed, 728 insertions(+), 646 deletions(-) diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir index a09befe105f..74b8d1f67de 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir @@ -1,21 +1,21 @@ { "resourceType": "Bundle", - "id": "1735607788699055000.3de0f503-4ebe-44f0-8bc8-8e24478b3077", + "id": "1736458919202086313.8c6bf3b5-b363-45dd-aca1-2074f05dc439", "meta": { - "lastUpdated": "2024-12-30T20:16:28.708-05:00" + "lastUpdated": "2025-01-09T21:41:59.213+00:00" }, "identifier": { "system": "https://reportstream.cdc.gov/prime-router", "value": "0123" }, "type": "message", - "timestamp": "2019-07-20T09:12:29.000-04:00", + "timestamp": "2019-07-20T09:12:29.000+00:00", "entry": [ { - "fullUrl": "MessageHeader/1735607788795430000.ed00757a-911d-4521-998e-e130a358323d", + "fullUrl": "MessageHeader/1736458919519512551.13581fb7-1664-4fd6-a62a-e996f2e243d8", "resource": { "resourceType": "MessageHeader", - "id": "1735607788795430000.ed00757a-911d-4521-998e-e130a358323d", + "id": "1736458919519512551.13581fb7-1664-4fd6-a62a-e996f2e243d8", "meta": { "security": [ { @@ -208,7 +208,7 @@ "name": "txdshslabNBS", "endpoint": "urn:oid:2.16.840.1.114222.4.1.181960.2", "receiver": { - "reference": "Organization/1735607788790540000.0301f764-abad-4339-9b04-3d67bfc2890f" + "reference": "Organization/1736458919504212481.c84875fb-5a44-4094-afa4-450f197d029e" } }, { @@ -229,17 +229,17 @@ "name": "ReceivingNetworkAddress", "endpoint": "urn:oid:9.87.123.1.114222.XXX", "receiver": { - "reference": "Organization/1735607788791771000.2c5e0d28-0e71-4524-b816-6366b513149a" + "reference": "Organization/1736458919509753399.2453ef6d-c34c-4f6a-8d53-60b967f772c4" } }, { "receiver": { - "reference": "Organization/1735607788795116000.d031bc0f-0bd5-40f5-851f-f2d63d07df66" + "reference": "Organization/1736458919518840563.8e999ad0-689a-4a0b-8381-cd7e17772336" } } ], "sender": { - "reference": "Organization/1735607788762135000.21b7bfc1-727f-407e-b307-fc6c2061020d" + "reference": "Organization/1736458919373789038.ebc18af6-b93a-4c06-aaf7-cea5ceb1dd44" }, "source": { "extension": [ @@ -265,15 +265,15 @@ "endpoint": "urn:oid:2.16.840.1.114222.XXX" }, "responsible": { - "reference": "Organization/1735607788789601000.ea639e33-766a-43a3-b788-65734b2038e3" + "reference": "Organization/1736458919502602395.70ff3e5f-477f-4f08-b145-3fb2323c97ba" } } }, { - "fullUrl": "Organization/1735607788762135000.21b7bfc1-727f-407e-b307-fc6c2061020d", + "fullUrl": "Organization/1736458919373789038.ebc18af6-b93a-4c06-aaf7-cea5ceb1dd44", "resource": { "resourceType": "Organization", - "id": "1735607788762135000.21b7bfc1-727f-407e-b307-fc6c2061020d", + "id": "1736458919373789038.ebc18af6-b93a-4c06-aaf7-cea5ceb1dd44", "identifier": [ { "extension": [ @@ -311,10 +311,10 @@ } }, { - "fullUrl": "Location/1735607788783004000.fcc9da5e-069b-4cec-b7aa-736ecc94727c", + "fullUrl": "Location/1736458919490739280.c11d79d4-c906-4004-92da-34be4c52984a", "resource": { "resourceType": "Location", - "id": "1735607788783004000.fcc9da5e-069b-4cec-b7aa-736ecc94727c", + "id": "1736458919490739280.c11d79d4-c906-4004-92da-34be4c52984a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -338,10 +338,10 @@ } }, { - "fullUrl": "Organization/1735607788789601000.ea639e33-766a-43a3-b788-65734b2038e3", + "fullUrl": "Organization/1736458919502602395.70ff3e5f-477f-4f08-b145-3fb2323c97ba", "resource": { "resourceType": "Organization", - "id": "1735607788789601000.ea639e33-766a-43a3-b788-65734b2038e3", + "id": "1736458919502602395.70ff3e5f-477f-4f08-b145-3fb2323c97ba", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -449,7 +449,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607788783004000.fcc9da5e-069b-4cec-b7aa-736ecc94727c" + "reference": "Location/1736458919490739280.c11d79d4-c906-4004-92da-34be4c52984a" } } ], @@ -468,10 +468,10 @@ } }, { - "fullUrl": "Organization/1735607788790540000.0301f764-abad-4339-9b04-3d67bfc2890f", + "fullUrl": "Organization/1736458919504212481.c84875fb-5a44-4094-afa4-450f197d029e", "resource": { "resourceType": "Organization", - "id": "1735607788790540000.0301f764-abad-4339-9b04-3d67bfc2890f", + "id": "1736458919504212481.c84875fb-5a44-4094-afa4-450f197d029e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -510,10 +510,10 @@ } }, { - "fullUrl": "Organization/1735607788791771000.2c5e0d28-0e71-4524-b816-6366b513149a", + "fullUrl": "Organization/1736458919509753399.2453ef6d-c34c-4f6a-8d53-60b967f772c4", "resource": { "resourceType": "Organization", - "id": "1735607788791771000.2c5e0d28-0e71-4524-b816-6366b513149a", + "id": "1736458919509753399.2453ef6d-c34c-4f6a-8d53-60b967f772c4", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -552,10 +552,10 @@ } }, { - "fullUrl": "Location/1735607788793366000.f69dd253-1b62-4691-9d11-7706639537a1", + "fullUrl": "Location/1736458919513924540.6670c63f-8e91-4fc7-87f5-bb315049f6f8", "resource": { "resourceType": "Location", - "id": "1735607788793366000.f69dd253-1b62-4691-9d11-7706639537a1", + "id": "1736458919513924540.6670c63f-8e91-4fc7-87f5-bb315049f6f8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -579,10 +579,10 @@ } }, { - "fullUrl": "Organization/1735607788795116000.d031bc0f-0bd5-40f5-851f-f2d63d07df66", + "fullUrl": "Organization/1736458919518840563.8e999ad0-689a-4a0b-8381-cd7e17772336", "resource": { "resourceType": "Organization", - "id": "1735607788795116000.d031bc0f-0bd5-40f5-851f-f2d63d07df66", + "id": "1736458919518840563.8e999ad0-689a-4a0b-8381-cd7e17772336", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -694,7 +694,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607788793366000.f69dd253-1b62-4691-9d11-7706639537a1" + "reference": "Location/1736458919513924540.6670c63f-8e91-4fc7-87f5-bb315049f6f8" } } ], @@ -713,10 +713,10 @@ } }, { - "fullUrl": "Provenance/1735607789400786000.36647406-d8ef-465c-a006-4ad8ebae709a", + "fullUrl": "Provenance/1736458919655883953.7eba1ab1-dd47-40d8-be3d-9934c6fc49b0", "resource": { "resourceType": "Provenance", - "id": "1735607789400786000.36647406-d8ef-465c-a006-4ad8ebae709a", + "id": "1736458919655883953.7eba1ab1-dd47-40d8-be3d-9934c6fc49b0", "recorded": "2019-07-20T09:12:29Z", "activity": { "coding": [ @@ -736,7 +736,7 @@ ] }, "who": { - "reference": "Organization/1735607789400549000.0870bdd0-f749-461e-b3a7-6716ac333094" + "reference": "Organization/1736458919655610784.6d104bf7-b298-4fc2-bfb9-a56ac8ea622d" } } ], @@ -744,17 +744,17 @@ { "role": "source", "what": { - "reference": "Device/1735607789406144000.b3404124-99ee-41c8-bf4e-23f2b9cd21eb" + "reference": "Device/1736458919662724259.28591888-2b48-4972-8128-b5d95591d148" } } ] } }, { - "fullUrl": "Location/1735607789399146000.b3b90f88-3ed9-4df1-aab0-fd44bfa06ef3", + "fullUrl": "Location/1736458919653856362.09959ff4-8cc6-4d55-8433-b8a3c3a0bb1d", "resource": { "resourceType": "Location", - "id": "1735607789399146000.b3b90f88-3ed9-4df1-aab0-fd44bfa06ef3", + "id": "1736458919653856362.09959ff4-8cc6-4d55-8433-b8a3c3a0bb1d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -778,10 +778,10 @@ } }, { - "fullUrl": "Organization/1735607789400549000.0870bdd0-f749-461e-b3a7-6716ac333094", + "fullUrl": "Organization/1736458919655610784.6d104bf7-b298-4fc2-bfb9-a56ac8ea622d", "resource": { "resourceType": "Organization", - "id": "1735607789400549000.0870bdd0-f749-461e-b3a7-6716ac333094", + "id": "1736458919655610784.6d104bf7-b298-4fc2-bfb9-a56ac8ea622d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -889,7 +889,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789399146000.b3b90f88-3ed9-4df1-aab0-fd44bfa06ef3" + "reference": "Location/1736458919653856362.09959ff4-8cc6-4d55-8433-b8a3c3a0bb1d" } } ], @@ -908,10 +908,10 @@ } }, { - "fullUrl": "Location/1735607789404699000.db0bf87e-0ef0-41d2-a02b-6868b2bc9c05", + "fullUrl": "Location/1736458919661158103.180080e2-b849-43a4-bcb5-e40cfffe33fa", "resource": { "resourceType": "Location", - "id": "1735607789404699000.db0bf87e-0ef0-41d2-a02b-6868b2bc9c05", + "id": "1736458919661158103.180080e2-b849-43a4-bcb5-e40cfffe33fa", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -935,10 +935,10 @@ } }, { - "fullUrl": "Organization/1735607789405967000.2ef44250-9645-410a-939b-311c8720f2cb", + "fullUrl": "Organization/1736458919662515547.e91f572a-3a93-4545-be10-5bb8081ae27d", "resource": { "resourceType": "Organization", - "id": "1735607789405967000.2ef44250-9645-410a-939b-311c8720f2cb", + "id": "1736458919662515547.e91f572a-3a93-4545-be10-5bb8081ae27d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -1026,7 +1026,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789404699000.db0bf87e-0ef0-41d2-a02b-6868b2bc9c05" + "reference": "Location/1736458919661158103.180080e2-b849-43a4-bcb5-e40cfffe33fa" } } ], @@ -1045,15 +1045,15 @@ } }, { - "fullUrl": "Device/1735607789406144000.b3404124-99ee-41c8-bf4e-23f2b9cd21eb", + "fullUrl": "Device/1736458919662724259.28591888-2b48-4972-8128-b5d95591d148", "resource": { "resourceType": "Device", - "id": "1735607789406144000.b3404124-99ee-41c8-bf4e-23f2b9cd21eb", + "id": "1736458919662724259.28591888-2b48-4972-8128-b5d95591d148", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org", "valueReference": { - "reference": "Organization/1735607789405967000.2ef44250-9645-410a-939b-311c8720f2cb" + "reference": "Organization/1736458919662515547.e91f572a-3a93-4545-be10-5bb8081ae27d" } } ], @@ -1092,11 +1092,11 @@ } }, { - "fullUrl": "Provenance/1735607789419005000.28215b2a-0820-4097-8f30-2c9547183002", + "fullUrl": "Provenance/1736458919691235960.52f6fd0b-b557-4d98-8c4f-d6d545e472d5", "resource": { "resourceType": "Provenance", - "id": "1735607789419005000.28215b2a-0820-4097-8f30-2c9547183002", - "recorded": "2024-12-30T20:16:29Z", + "id": "1736458919691235960.52f6fd0b-b557-4d98-8c4f-d6d545e472d5", + "recorded": "2025-01-09T21:41:59Z", "policy": [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], @@ -1118,17 +1118,17 @@ ] }, "who": { - "reference": "Organization/1735607789418679000.e3615b5a-1599-4ec9-9225-2509f96c3cb3" + "reference": "Organization/1736458919690758563.1f826fa7-f5d7-46a0-9a42-4948b7bc7d7f" } } ] } }, { - "fullUrl": "Organization/1735607789418679000.e3615b5a-1599-4ec9-9225-2509f96c3cb3", + "fullUrl": "Organization/1736458919690758563.1f826fa7-f5d7-46a0-9a42-4948b7bc7d7f", "resource": { "resourceType": "Organization", - "id": "1735607789418679000.e3615b5a-1599-4ec9-9225-2509f96c3cb3", + "id": "1736458919690758563.1f826fa7-f5d7-46a0-9a42-4948b7bc7d7f", "identifier": [ { "value": "CDC PRIME - Atlanta" @@ -1148,16 +1148,16 @@ } }, { - "fullUrl": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358", + "fullUrl": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5", "resource": { "resourceType": "Patient", - "id": "1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358", + "id": "1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5", "meta": { "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/last-updated-facility-namespace-id", "valueReference": { - "reference": "Organization/1735607789475161000.607492b8-293e-4676-9ba0-80ac477a81ea" + "reference": "Organization/1736458919766423966.c3999584-a2e0-4456-ba88-8ef4adb03842" } } ], @@ -1313,7 +1313,7 @@ } ], "authorReference": { - "reference": "Practitioner/1735607789436858000.2442f7af-f8dc-4ebc-ab01-07797fd87ad3" + "reference": "Practitioner/1736458919711904425.9f0042c1-9f45-4ea2-88b2-e243c9017b04" }, "time": "2023-05-31", "_time": { @@ -2208,7 +2208,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1735607789447262000.d65ccc51-e1cf-4446-9f9b-3a215ce7f1ef" + "reference": "Organization/1736458919721982439.b96c375d-32d7-4764-b51f-72a5b10558be" } }, { @@ -2259,7 +2259,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1735607789448245000.e28c90b7-673b-444f-9e62-26ea69eb7f20" + "reference": "Organization/1736458919723152217.e1ec858f-7171-4b0a-be77-3cd6824aee93" } }, { @@ -2373,13 +2373,13 @@ { "url": "PD1.14", "valueReference": { - "reference": "Organization/1735607789451052000.37570915-eb73-48bf-a47a-0f21de6138df" + "reference": "Organization/1736458919726642709.6f2ec3fc-3f29-4fbd-a15c-760e3e7ff28b" } }, { "url": "PD1.14", "valueReference": { - "reference": "Organization/1735607789452466000.a861f493-536d-4c92-a4c9-be3e9b3790a4" + "reference": "Organization/1736458919728360353.1ae2c1f2-0f65-4cb9-a66e-ae389d1f35c9" } }, { @@ -2810,7 +2810,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1735607789426028000.cebe20d6-333b-43e2-97bb-2b964a190659" + "reference": "Organization/1736458919701700868.d97d468e-3504-4c0a-919f-920aff658365" } }, { @@ -2962,7 +2962,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1735607789429009000.a4ca49cb-6127-4060-b213-637f62d3a797" + "reference": "Organization/1736458919705296366.84182968-773e-419a-9c23-a93dbd813953" } }, { @@ -4202,7 +4202,7 @@ }, "gender": "unknown", "organization": { - "reference": "Organization/1735607789479937000.0ffe6365-3167-46b8-97cd-b89e3c3cc76c" + "reference": "Organization/1736458919773301928.ddcabfbc-735a-4d08-b558-4d5e0ae094da" }, "period": { "start": "2022-05-01T10:25:31-04:00", @@ -4250,22 +4250,25 @@ ], "generalPractitioner": [ { - "reference": "Organization/1735607789431855000.ad939ac4-711d-46a1-9bac-8f982a70ad28" + "reference": "Organization/1736458919789935071.8d9babc0-3174-431a-8d2e-8db15ea102ce" }, { - "reference": "Organization/1735607789433921000.e7ff3fd8-e7da-4e7a-aed7-a309096a63d1" + "reference": "Organization/1736458919792968897.ed7b289e-f356-4a4d-a157-132e8915597f" + }, + { + "reference": "Practitioner/1736458919794295529.9305d0d9-cd42-4dab-81de-1220b3ac11c7" } ], "link": [ { "other": { - "reference": "RelatedPerson/1735607789466485000.2e42cc17-cf86-48fd-ba66-e408a017d2e0" + "reference": "RelatedPerson/1736458919745992613.eae73524-9e36-422c-af93-2eb49f67297a" }, "type": "seealso" }, { "other": { - "reference": "RelatedPerson/1735607789466882000.88992c12-14e1-49bc-9c2d-b912fac21955" + "reference": "RelatedPerson/1736458919746932862.1fcb890f-266a-413c-8948-67bde4a46990" }, "type": "seealso" } @@ -4273,10 +4276,10 @@ } }, { - "fullUrl": "Organization/1735607789426028000.cebe20d6-333b-43e2-97bb-2b964a190659", + "fullUrl": "Organization/1736458919701700868.d97d468e-3504-4c0a-919f-920aff658365", "resource": { "resourceType": "Organization", - "id": "1735607789426028000.cebe20d6-333b-43e2-97bb-2b964a190659", + "id": "1736458919701700868.d97d468e-3504-4c0a-919f-920aff658365", "identifier": [ { "extension": [ @@ -4309,10 +4312,10 @@ } }, { - "fullUrl": "Organization/1735607789429009000.a4ca49cb-6127-4060-b213-637f62d3a797", + "fullUrl": "Organization/1736458919705296366.84182968-773e-419a-9c23-a93dbd813953", "resource": { "resourceType": "Organization", - "id": "1735607789429009000.a4ca49cb-6127-4060-b213-637f62d3a797", + "id": "1736458919705296366.84182968-773e-419a-9c23-a93dbd813953", "identifier": [ { "extension": [ @@ -4345,10 +4348,94 @@ } }, { - "fullUrl": "Location/1735607789430391000.4226dbd4-f4e0-449a-8832-a725f2913b8f", + "fullUrl": "Practitioner/1736458919711904425.9f0042c1-9f45-4ea2-88b2-e243c9017b04", + "resource": { + "resourceType": "Practitioner", + "id": "1736458919711904425.9f0042c1-9f45-4ea2-88b2-e243c9017b04", + "identifier": [ + { + "value": "Bob R.N." + } + ] + } + }, + { + "fullUrl": "Organization/1736458919721982439.b96c375d-32d7-4764-b51f-72a5b10558be", + "resource": { + "resourceType": "Organization", + "id": "1736458919721982439.b96c375d-32d7-4764-b51f-72a5b10558be", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "University H" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.0" + } + ] + } + }, + { + "fullUrl": "Organization/1736458919723152217.e1ec858f-7171-4b0a-be77-3cd6824aee93", + "resource": { + "resourceType": "Organization", + "id": "1736458919723152217.e1ec858f-7171-4b0a-be77-3cd6824aee93", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "SSA" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.184" + } + ] + } + }, + { + "fullUrl": "Location/1736458919725088174.9fed01fa-2244-4046-bc99-44dbed63e595", "resource": { "resourceType": "Location", - "id": "1735607789430391000.4226dbd4-f4e0-449a-8832-a725f2913b8f", + "id": "1736458919725088174.9fed01fa-2244-4046-bc99-44dbed63e595", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4372,10 +4459,10 @@ } }, { - "fullUrl": "Organization/1735607789431855000.ad939ac4-711d-46a1-9bac-8f982a70ad28", + "fullUrl": "Organization/1736458919726642709.6f2ec3fc-3f29-4fbd-a15c-760e3e7ff28b", "resource": { "resourceType": "Organization", - "id": "1735607789431855000.ad939ac4-711d-46a1-9bac-8f982a70ad28", + "id": "1736458919726642709.6f2ec3fc-3f29-4fbd-a15c-760e3e7ff28b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4447,7 +4534,7 @@ }, { "url": "XON.10", - "valueString": "OrgIdentifier" + "valueString": "1st OrgIdentifier" } ] } @@ -4483,7 +4570,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789430391000.4226dbd4-f4e0-449a-8832-a725f2913b8f" + "reference": "Location/1736458919725088174.9fed01fa-2244-4046-bc99-44dbed63e595" } } ], @@ -4495,17 +4582,17 @@ } ] }, - "value": "OrgIdentifier" + "value": "1st OrgIdentifier" } ], - "name": "Ordering Facility" + "name": "1st Ordering Facility" } }, { - "fullUrl": "Location/1735607789432811000.d8d8dec6-00c4-4bd9-b1cc-b194f2fd82e4", + "fullUrl": "Location/1736458919727384611.a7fff565-fcba-470f-9559-d5aab6cee4ac", "resource": { "resourceType": "Location", - "id": "1735607789432811000.d8d8dec6-00c4-4bd9-b1cc-b194f2fd82e4", + "id": "1736458919727384611.a7fff565-fcba-470f-9559-d5aab6cee4ac", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4529,10 +4616,10 @@ } }, { - "fullUrl": "Organization/1735607789433921000.e7ff3fd8-e7da-4e7a-aed7-a309096a63d1", + "fullUrl": "Organization/1736458919728360353.1ae2c1f2-0f65-4cb9-a66e-ae389d1f35c9", "resource": { "resourceType": "Organization", - "id": "1735607789433921000.e7ff3fd8-e7da-4e7a-aed7-a309096a63d1", + "id": "1736458919728360353.1ae2c1f2-0f65-4cb9-a66e-ae389d1f35c9", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4604,7 +4691,7 @@ }, { "url": "XON.10", - "valueString": "OrgIdentifier" + "valueString": "2nd OrgIdentifier" } ] } @@ -4640,7 +4727,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789432811000.d8d8dec6-00c4-4bd9-b1cc-b194f2fd82e4" + "reference": "Location/1736458919727384611.a7fff565-fcba-470f-9559-d5aab6cee4ac" } } ], @@ -4652,29 +4739,41 @@ } ] }, - "value": "OrgIdentifier" + "value": "2nd OrgIdentifier" } ], - "name": "Ordering Facility" + "name": "2nd Ordering Facility" } }, { - "fullUrl": "Practitioner/1735607789436858000.2442f7af-f8dc-4ebc-ab01-07797fd87ad3", + "fullUrl": "RelatedPerson/1736458919745992613.eae73524-9e36-422c-af93-2eb49f67297a", "resource": { - "resourceType": "Practitioner", - "id": "1735607789436858000.2442f7af-f8dc-4ebc-ab01-07797fd87ad3", + "resourceType": "RelatedPerson", + "id": "1736458919745992613.eae73524-9e36-422c-af93-2eb49f67297a", "identifier": [ { - "value": "Bob R.N." + "value": "maybe" + } + ] + } + }, + { + "fullUrl": "RelatedPerson/1736458919746932862.1fcb890f-266a-413c-8948-67bde4a46990", + "resource": { + "resourceType": "RelatedPerson", + "id": "1736458919746932862.1fcb890f-266a-413c-8948-67bde4a46990", + "identifier": [ + { + "value": "maybe not" } ] } }, { - "fullUrl": "Organization/1735607789447262000.d65ccc51-e1cf-4446-9f9b-3a215ce7f1ef", + "fullUrl": "Organization/1736458919766423966.c3999584-a2e0-4456-ba88-8ef4adb03842", "resource": { "resourceType": "Organization", - "id": "1735607789447262000.d65ccc51-e1cf-4446-9f9b-3a215ce7f1ef", + "id": "1736458919766423966.c3999584-a2e0-4456-ba88-8ef4adb03842", "identifier": [ { "extension": [ @@ -4683,7 +4782,7 @@ "valueString": "HD.1" } ], - "value": "University H" + "value": "RSDT" }, { "extension": [ @@ -4701,52 +4800,163 @@ ] }, "system": "urn:ietf:rfc:3986", - "value": "2.16.840.1.113883.3.0" + "value": "0.0.0.1.1138" } ] } }, { - "fullUrl": "Organization/1735607789448245000.e28c90b7-673b-444f-9e62-26ea69eb7f20", + "fullUrl": "Organization/1736458919773301928.ddcabfbc-735a-4d08-b558-4d5e0ae094da", "resource": { "resourceType": "Organization", - "id": "1735607789448245000.e28c90b7-673b-444f-9e62-26ea69eb7f20", - "identifier": [ + "id": "1736458919773301928.ddcabfbc-735a-4d08-b558-4d5e0ae094da", + "extension": [ { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.1" + "url": "XON.3", + "valueString": "112233" + }, + { + "url": "XON.10", + "valueString": "HRU" } - ], - "value": "SSA" - }, + ] + } + ], + "identifier": [ { - "extension": [ + "value": "HRU" + } + ], + "name": "HospitalsRUs", + "contact": [ + { + "telecom": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.2,HD.3" + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-country", + "valueString": "1" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-area", + "valueString": "720" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-local", + "valueString": "5553954" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", + "extension": [ + { + "url": "XTN.2", + "valueString": "WPN" + }, + { + "url": "XTN.3", + "valueString": "PH" + }, + { + "url": "XTN.7", + "valueString": "5553954" + }, + { + "url": "XTN.12", + "valueString": "+1 720 555 3954" + } + ] + } + ], + "system": "phone", + "value": "+1 720 555 3954", + "use": "work" } ], - "type": { - "coding": [ + "address": { + "extension": [ { - "system": "http://terminology.hl7.org/CodeSystem/v2-0301", - "code": "ISO" + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", + "valueCode": "12" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "4861 20TH AVE" + } + ] + }, + { + "url": "XAD.2", + "valueString": "#B" + }, + { + "url": "XAD.7", + "valueCode": "H" + }, + { + "url": "XAD.8", + "valueString": "World" + }, + { + "url": "XAD.11", + "valueCode": "8" + }, + { + "url": "XAD.12", + "extension": [ + { + "url": "XAD.12.1", + "valueString": "2017" + }, + { + "url": "XAD.12.2", + "valueString": "2025" + } + ] + }, + { + "url": "XAD.13", + "valueString": "2020" + }, + { + "url": "XAD.14", + "valueString": "2021" + } + ] } - ] - }, - "system": "urn:ietf:rfc:3986", - "value": "2.16.840.1.113883.3.184" + ], + "use": "home", + "line": [ + "4861 20TH AVE", + "#B" + ], + "city": "AURORA", + "district": "King", + "state": "IG", + "postalCode": "99999", + "country": "USA", + "period": { + "start": "2020", + "end": "2021" + } + } } ] } }, { - "fullUrl": "Location/1735607789450177000.e6c74734-dd43-44a1-b9a3-cafa523fc44a", + "fullUrl": "Location/1736458919788081687.4e558643-e2d9-4c34-80aa-d2197a908885", "resource": { "resourceType": "Location", - "id": "1735607789450177000.e6c74734-dd43-44a1-b9a3-cafa523fc44a", + "id": "1736458919788081687.4e558643-e2d9-4c34-80aa-d2197a908885", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4770,10 +4980,10 @@ } }, { - "fullUrl": "Organization/1735607789451052000.37570915-eb73-48bf-a47a-0f21de6138df", + "fullUrl": "Organization/1736458919789935071.8d9babc0-3174-431a-8d2e-8db15ea102ce", "resource": { "resourceType": "Organization", - "id": "1735607789451052000.37570915-eb73-48bf-a47a-0f21de6138df", + "id": "1736458919789935071.8d9babc0-3174-431a-8d2e-8db15ea102ce", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4845,7 +5055,7 @@ }, { "url": "XON.10", - "valueString": "1st OrgIdentifier" + "valueString": "OrgIdentifier" } ] } @@ -4881,7 +5091,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789450177000.e6c74734-dd43-44a1-b9a3-cafa523fc44a" + "reference": "Location/1736458919788081687.4e558643-e2d9-4c34-80aa-d2197a908885" } } ], @@ -4893,17 +5103,17 @@ } ] }, - "value": "1st OrgIdentifier" + "value": "OrgIdentifier" } ], - "name": "1st Ordering Facility" + "name": "Ordering Facility" } }, { - "fullUrl": "Location/1735607789451705000.4a934e83-2a80-47e9-bbff-d492029451ab", + "fullUrl": "Location/1736458919791116279.90fa9cb7-2527-48d1-92a4-af7f4ef1e1fe", "resource": { "resourceType": "Location", - "id": "1735607789451705000.4a934e83-2a80-47e9-bbff-d492029451ab", + "id": "1736458919791116279.90fa9cb7-2527-48d1-92a4-af7f4ef1e1fe", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4927,10 +5137,10 @@ } }, { - "fullUrl": "Organization/1735607789452466000.a861f493-536d-4c92-a4c9-be3e9b3790a4", + "fullUrl": "Organization/1736458919792968897.ed7b289e-f356-4a4d-a157-132e8915597f", "resource": { "resourceType": "Organization", - "id": "1735607789452466000.a861f493-536d-4c92-a4c9-be3e9b3790a4", + "id": "1736458919792968897.ed7b289e-f356-4a4d-a157-132e8915597f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -5002,7 +5212,7 @@ }, { "url": "XON.10", - "valueString": "2nd OrgIdentifier" + "valueString": "OrgIdentifier" } ] } @@ -5038,7 +5248,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789451705000.4a934e83-2a80-47e9-bbff-d492029451ab" + "reference": "Location/1736458919791116279.90fa9cb7-2527-48d1-92a4-af7f4ef1e1fe" } } ], @@ -5050,41 +5260,17 @@ } ] }, - "value": "2nd OrgIdentifier" + "value": "OrgIdentifier" } ], - "name": "2nd Ordering Facility" - } - }, - { - "fullUrl": "RelatedPerson/1735607789466485000.2e42cc17-cf86-48fd-ba66-e408a017d2e0", - "resource": { - "resourceType": "RelatedPerson", - "id": "1735607789466485000.2e42cc17-cf86-48fd-ba66-e408a017d2e0", - "identifier": [ - { - "value": "maybe" - } - ] - } - }, - { - "fullUrl": "RelatedPerson/1735607789466882000.88992c12-14e1-49bc-9c2d-b912fac21955", - "resource": { - "resourceType": "RelatedPerson", - "id": "1735607789466882000.88992c12-14e1-49bc-9c2d-b912fac21955", - "identifier": [ - { - "value": "maybe not" - } - ] + "name": "Ordering Facility" } }, { - "fullUrl": "Organization/1735607789475161000.607492b8-293e-4676-9ba0-80ac477a81ea", + "fullUrl": "Organization/1736458919793411125.2eec63c5-3553-4884-9736-a9288e0283f1", "resource": { "resourceType": "Organization", - "id": "1735607789475161000.607492b8-293e-4676-9ba0-80ac477a81ea", + "id": "1736458919793411125.2eec63c5-3553-4884-9736-a9288e0283f1", "identifier": [ { "extension": [ @@ -5093,188 +5279,84 @@ "valueString": "HD.1" } ], - "value": "RSDT" - }, - { - "extension": [ - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.2,HD.3" - } - ], - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0301", - "code": "ISO" - } - ] - }, - "system": "urn:ietf:rfc:3986", - "value": "0.0.0.1.1138" + "value": "NPI" } ] } }, { - "fullUrl": "Organization/1735607789479937000.0ffe6365-3167-46b8-97cd-b89e3c3cc76c", + "fullUrl": "Practitioner/1736458919794295529.9305d0d9-cd42-4dab-81de-1220b3ac11c7", "resource": { - "resourceType": "Organization", - "id": "1735607789479937000.0ffe6365-3167-46b8-97cd-b89e3c3cc76c", + "resourceType": "Practitioner", + "id": "1736458919794295529.9305d0d9-cd42-4dab-81de-1220b3ac11c7", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", "extension": [ { - "url": "XON.3", - "valueString": "112233" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "PD1.4NameGiven" }, { - "url": "XON.10", - "valueString": "HRU" + "url": "XCN.4", + "valueString": "PD1.4NameInit" } ] } ], "identifier": [ { - "value": "HRU" - } - ], - "name": "HospitalsRUs", - "contact": [ - { - "telecom": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-country", - "valueString": "1" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-area", - "valueString": "720" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-local", - "valueString": "5553954" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", - "extension": [ - { - "url": "XTN.2", - "valueString": "WPN" - }, - { - "url": "XTN.3", - "valueString": "PH" - }, - { - "url": "XTN.7", - "valueString": "5553954" - }, - { - "url": "XTN.12", - "valueString": "+1 720 555 3954" - } - ] - } - ], - "system": "phone", - "value": "+1 720 555 3954", - "use": "work" - } - ], - "address": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", - "valueCode": "12" - }, + "type": { + "coding": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", - "extension": [ - { - "url": "SAD.1", - "valueString": "4861 20TH AVE" - } - ] - }, - { - "url": "XAD.2", - "valueString": "#B" - }, - { - "url": "XAD.7", - "valueCode": "H" - }, - { - "url": "XAD.8", - "valueString": "World" - }, - { - "url": "XAD.11", - "valueCode": "8" - }, - { - "url": "XAD.12", - "extension": [ - { - "url": "XAD.12.1", - "valueString": "2017" - }, - { - "url": "XAD.12.2", - "valueString": "2025" - } - ] - }, - { - "url": "XAD.13", - "valueString": "2020" - }, - { - "url": "XAD.14", - "valueString": "2021" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true } - ] + ], + "code": "NPI" } - ], - "use": "home", - "line": [ - "4861 20TH AVE", - "#B" - ], - "city": "AURORA", - "district": "King", - "state": "IG", - "postalCode": "99999", - "country": "USA", - "period": { - "start": "2020", - "end": "2021" - } + ] + }, + "value": "1111111111", + "assigner": { + "reference": "Organization/1736458919793411125.2eec63c5-3553-4884-9736-a9288e0283f1" } } + ], + "name": [ + { + "family": "PD1.4NameFamily", + "given": [ + "PD1.4NameGiven", + "PD1.4NameInit" + ] + } ] } }, { - "fullUrl": "Provenance/1735607789515261000.f8ef0058-b6ac-4e30-ba2c-a20986fc8af5", + "fullUrl": "Provenance/1736458919841590087.872302f4-44fb-4569-98cd-b84d60958e7d", "resource": { "resourceType": "Provenance", - "id": "1735607789515261000.f8ef0058-b6ac-4e30-ba2c-a20986fc8af5", + "id": "1736458919841590087.872302f4-44fb-4569-98cd-b84d60958e7d", "target": [ { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" } ], "occurredDateTime": "2024-08-21T11:38:00Z", - "recorded": "2024-12-30T20:16:29Z", + "recorded": "2025-01-09T21:41:59Z", "activity": { "coding": [ { @@ -5294,17 +5376,17 @@ ] }, "who": { - "reference": "Organization/1735607789514960000.c418736a-224b-45b1-816b-a75809d8f337" + "reference": "Organization/1736458919840495874.739fdf21-5029-43f5-8b90-2c8a69fa9579" } } ] } }, { - "fullUrl": "Organization/1735607789514960000.c418736a-224b-45b1-816b-a75809d8f337", + "fullUrl": "Organization/1736458919840495874.739fdf21-5029-43f5-8b90-2c8a69fa9579", "resource": { "resourceType": "Organization", - "id": "1735607789514960000.c418736a-224b-45b1-816b-a75809d8f337", + "id": "1736458919840495874.739fdf21-5029-43f5-8b90-2c8a69fa9579", "identifier": [ { "extension": [ @@ -5337,10 +5419,10 @@ } }, { - "fullUrl": "RelatedPerson/1735607789526310000.dbdd8551-5077-4197-8a82-0b08a39be8e4", + "fullUrl": "RelatedPerson/1736458919878825084.62891af7-f746-4ea7-b825-5984b2b9b005", "resource": { "resourceType": "RelatedPerson", - "id": "1735607789526310000.dbdd8551-5077-4197-8a82-0b08a39be8e4", + "id": "1736458919878825084.62891af7-f746-4ea7-b825-5984b2b9b005", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -5352,13 +5434,13 @@ { "url": "NK1.13", "valueReference": { - "reference": "Organization/1735607789517744000.03a99988-2a47-4aae-bcc6-a75464854b83" + "reference": "Organization/1736458919848826568.f22f6bfd-a2bd-41ee-a66b-dd26aaf024d0" } }, { "url": "NK1.13", "valueReference": { - "reference": "Organization/1735607789518037000.8ab16480-1c9d-4e87-b345-db7778709cb4" + "reference": "Organization/1736458919851136538.0227bb6c-9e8c-41c4-8130-dfe30502fcdd" } }, { @@ -5431,7 +5513,7 @@ } ], "patient": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "relationship": [ { @@ -6432,10 +6514,10 @@ } }, { - "fullUrl": "Organization/1735607789517744000.03a99988-2a47-4aae-bcc6-a75464854b83", + "fullUrl": "Organization/1736458919848826568.f22f6bfd-a2bd-41ee-a66b-dd26aaf024d0", "resource": { "resourceType": "Organization", - "id": "1735607789517744000.03a99988-2a47-4aae-bcc6-a75464854b83", + "id": "1736458919848826568.f22f6bfd-a2bd-41ee-a66b-dd26aaf024d0", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -6460,10 +6542,10 @@ } }, { - "fullUrl": "Organization/1735607789518037000.8ab16480-1c9d-4e87-b345-db7778709cb4", + "fullUrl": "Organization/1736458919851136538.0227bb6c-9e8c-41c4-8130-dfe30502fcdd", "resource": { "resourceType": "Organization", - "id": "1735607789518037000.8ab16480-1c9d-4e87-b345-db7778709cb4", + "id": "1736458919851136538.0227bb6c-9e8c-41c4-8130-dfe30502fcdd", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -6488,10 +6570,10 @@ } }, { - "fullUrl": "RelatedPerson/1735607789533113000.01a5da61-b2d6-49c3-84c5-b071ea85fc68", + "fullUrl": "RelatedPerson/1736458919901550306.30f55851-2c3c-4780-94ba-764378f7b37e", "resource": { "resourceType": "RelatedPerson", - "id": "1735607789533113000.01a5da61-b2d6-49c3-84c5-b071ea85fc68", + "id": "1736458919901550306.30f55851-2c3c-4780-94ba-764378f7b37e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -6503,7 +6585,7 @@ { "url": "NK1.13", "valueReference": { - "reference": "Organization/1735607789528210000.ccf71361-12da-4824-9a9a-fb3496b096d1" + "reference": "Organization/1736458919885527753.1852a5e0-f284-4172-ae76-2288c494854d" } }, { @@ -6556,7 +6638,7 @@ } ], "patient": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "relationship": [ { @@ -7172,10 +7254,10 @@ } }, { - "fullUrl": "Organization/1735607789528210000.ccf71361-12da-4824-9a9a-fb3496b096d1", + "fullUrl": "Organization/1736458919885527753.1852a5e0-f284-4172-ae76-2288c494854d", "resource": { "resourceType": "Organization", - "id": "1735607789528210000.ccf71361-12da-4824-9a9a-fb3496b096d1", + "id": "1736458919885527753.1852a5e0-f284-4172-ae76-2288c494854d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -7200,10 +7282,10 @@ } }, { - "fullUrl": "Encounter/1735607789565393000.2075dbd4-8b88-4110-b872-e6a445cdde7f", + "fullUrl": "Encounter/1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0", "resource": { "resourceType": "Encounter", - "id": "1735607789565393000.2075dbd4-8b88-4110-b872-e6a445cdde7f", + "id": "1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0", "meta": { "security": [ { @@ -7218,7 +7300,7 @@ "valueString": "Description" } ], - "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eDescription\u003c/div\u003e" + "div": "
Description
" }, "extension": [ { @@ -7542,13 +7624,13 @@ { "url": "PV2.23", "valueReference": { - "reference": "Organization/1735607789543720000.08a0470d-a41d-43f1-9fda-0e205c44dea0" + "reference": "Organization/1736458919925486249.37a3f414-df7b-4f6f-bbd5-de0860aed922" } }, { "url": "PV2.23", "valueReference": { - "reference": "Organization/1735607789545422000.223e73ed-7ea7-40de-b13c-ca4db4a38e41" + "reference": "Organization/1736458919927612213.9f50293a-f46a-4461-9a4a-d230428a6f1f" } }, { @@ -7679,11 +7761,11 @@ ] }, "subject": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "episodeOfCare": [ { - "reference": "EpisodeOfCare/1735607789565923000.72b02b00-3b17-4a4f-93cb-c649a1c96487" + "reference": "EpisodeOfCare/1736458919960723585.c295f557-b8e7-4837-9bc4-215639e42797" } ], "participant": [ @@ -7700,7 +7782,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789549216000.2258fbf0-4555-43c4-80b9-802113b54959" + "reference": "Practitioner/1736458919934380845.6df21616-9b72-44de-bc80-d44c6e257266" } }, { @@ -7716,7 +7798,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789550253000.1d1db3db-7201-4bb6-8213-59a1d4edd981" + "reference": "Practitioner/1736458919935927452.cd62f2ab-5508-4ae8-9865-b3fda0a7ef29" } }, { @@ -7732,7 +7814,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789550896000.700666bb-6f01-44be-bb36-8def2faea1a3" + "reference": "Practitioner/1736458919937167456.1a9f3b83-1cf1-42ea-88cf-4eb7b1008f58" } }, { @@ -7748,7 +7830,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789551727000.c13bfb48-3f3a-4f62-be52-43aa010dbb8a" + "reference": "Practitioner/1736458919938336427.c60baa5e-b771-4247-9cf2-dfaaf34065ce" } }, { @@ -7764,7 +7846,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789552421000.3b8fa292-b469-4171-b58e-dfb28b2cfa83" + "reference": "Practitioner/1736458919939373800.c6c79737-49ce-4b0b-8734-77571152bb92" } }, { @@ -7780,7 +7862,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789553063000.45ff9315-aa6b-4569-bba3-31550e5201ae" + "reference": "Practitioner/1736458919940264952.8b005932-d7c2-4377-a7fb-3c6d57f4ca52" } }, { @@ -7796,7 +7878,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789553667000.3d345330-3495-472b-bd24-2a41c88a0085" + "reference": "Practitioner/1736458919941605564.23c6ec81-973c-44f6-a1bd-4142c789f1cb" } }, { @@ -7812,7 +7894,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789554302000.c05d6f0e-c752-47eb-a490-1d7771336e8f" + "reference": "Practitioner/1736458919942862944.a82ac561-057b-4014-933b-0a10ad774162" } }, { @@ -7828,7 +7910,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789557025000.208f3367-5ff0-4259-8eb5-c571a4d41c86" + "reference": "Practitioner/1736458919947372465.6fed82ed-cbaa-4559-afd1-458b4419cf56" } }, { @@ -7844,7 +7926,7 @@ } ], "individual": { - "reference": "Practitioner/1735607789559587000.41a17b4b-d095-4247-b540-ef28c9fbccf5" + "reference": "Practitioner/1736458919950892993.80ea3265-5bcf-460c-98af-c60f1b81f0a5" } } ], @@ -7977,7 +8059,7 @@ } ], "destination": { - "reference": "Location/1735607789545966000.645a36f8-c25c-4da5-8306-5c604dd51f60" + "reference": "Location/1736458919928869112.447affd4-8ca4-4d72-9199-2dd6025a4887" }, "dischargeDisposition": { "coding": [ @@ -8007,7 +8089,7 @@ } ], "location": { - "reference": "Location/1735607789562451000.06a7267a-3ab3-4661-9297-4219312b72a7" + "reference": "Location/1736458919955611294.59e7b2fc-4d8d-4722-9c5e-9e68bed0bee1" }, "status": "active" }, @@ -8019,7 +8101,7 @@ } ], "location": { - "reference": "Location/1735607789563417000.329aec3f-e5d2-4c2f-a62d-d740c22f77af" + "reference": "Location/1736458919957110590.d4bfa857-0750-481d-916b-bae3c3946e62" }, "status": "completed" }, @@ -8035,7 +8117,7 @@ } ], "location": { - "reference": "Location/1735607789563728000.b82acbca-feca-49ec-af36-5898b6a56f21" + "reference": "Location/1736458919957617623.01068aca-b9a0-47a5-8a1d-2cd0b1ec4784" }, "status": "active" }, @@ -8047,7 +8129,7 @@ } ], "location": { - "reference": "Location/1735607789564031000.d02a9d2f-25fd-4631-a14f-7c27652e16e8" + "reference": "Location/1736458919958045340.21174502-311f-40c6-9a38-005e0e4999c6" }, "status": "planned" }, @@ -8063,7 +8145,7 @@ } ], "location": { - "reference": "Location/1735607789564325000.27604f89-b265-4648-bb40-4008fe93d4a6" + "reference": "Location/1736458919958453454.d4fe88f6-1a62-4ae8-9f9c-4a6656ac1836" }, "status": "completed" }, @@ -8079,7 +8161,7 @@ } ], "location": { - "reference": "Location/1735607789565275000.2856cdc2-b42f-4771-a32a-46d4d25e5cfd" + "reference": "Location/1736458919959894717.5803343c-dab9-4848-a8ab-d88ad2f5edae" }, "status": "planned" } @@ -8087,10 +8169,10 @@ } }, { - "fullUrl": "Location/1735607789543064000.cfdb2b56-3486-4488-ab4a-78ceb3fa48a9", + "fullUrl": "Location/1736458919923972105.5aa23d32-d245-40ff-a02d-44baf02e2864", "resource": { "resourceType": "Location", - "id": "1735607789543064000.cfdb2b56-3486-4488-ab4a-78ceb3fa48a9", + "id": "1736458919923972105.5aa23d32-d245-40ff-a02d-44baf02e2864", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -8114,10 +8196,10 @@ } }, { - "fullUrl": "Organization/1735607789543720000.08a0470d-a41d-43f1-9fda-0e205c44dea0", + "fullUrl": "Organization/1736458919925486249.37a3f414-df7b-4f6f-bbd5-de0860aed922", "resource": { "resourceType": "Organization", - "id": "1735607789543720000.08a0470d-a41d-43f1-9fda-0e205c44dea0", + "id": "1736458919925486249.37a3f414-df7b-4f6f-bbd5-de0860aed922", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -8217,7 +8299,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789543064000.cfdb2b56-3486-4488-ab4a-78ceb3fa48a9" + "reference": "Location/1736458919923972105.5aa23d32-d245-40ff-a02d-44baf02e2864" } } ], @@ -8236,10 +8318,10 @@ } }, { - "fullUrl": "Location/1735607789544686000.8e0c5be7-9162-4b60-8666-afa01f67a2a8", + "fullUrl": "Location/1736458919926211526.2543a99b-84e9-4645-9974-791438f16e23", "resource": { "resourceType": "Location", - "id": "1735607789544686000.8e0c5be7-9162-4b60-8666-afa01f67a2a8", + "id": "1736458919926211526.2543a99b-84e9-4645-9974-791438f16e23", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -8263,10 +8345,10 @@ } }, { - "fullUrl": "Organization/1735607789545422000.223e73ed-7ea7-40de-b13c-ca4db4a38e41", + "fullUrl": "Organization/1736458919927612213.9f50293a-f46a-4461-9a4a-d230428a6f1f", "resource": { "resourceType": "Organization", - "id": "1735607789545422000.223e73ed-7ea7-40de-b13c-ca4db4a38e41", + "id": "1736458919927612213.9f50293a-f46a-4461-9a4a-d230428a6f1f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -8366,7 +8448,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789544686000.8e0c5be7-9162-4b60-8666-afa01f67a2a8" + "reference": "Location/1736458919926211526.2543a99b-84e9-4645-9974-791438f16e23" } } ], @@ -8385,10 +8467,10 @@ } }, { - "fullUrl": "Location/1735607789545966000.645a36f8-c25c-4da5-8306-5c604dd51f60", + "fullUrl": "Location/1736458919928869112.447affd4-8ca4-4d72-9199-2dd6025a4887", "resource": { "resourceType": "Location", - "id": "1735607789545966000.645a36f8-c25c-4da5-8306-5c604dd51f60", + "id": "1736458919928869112.447affd4-8ca4-4d72-9199-2dd6025a4887", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/dld2-effective-date", @@ -8398,10 +8480,10 @@ } }, { - "fullUrl": "Practitioner/1735607789549216000.2258fbf0-4555-43c4-80b9-802113b54959", + "fullUrl": "Practitioner/1736458919934380845.6df21616-9b72-44de-bc80-d44c6e257266", "resource": { "resourceType": "Practitioner", - "id": "1735607789549216000.2258fbf0-4555-43c4-80b9-802113b54959", + "id": "1736458919934380845.6df21616-9b72-44de-bc80-d44c6e257266", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8494,10 +8576,10 @@ } }, { - "fullUrl": "Practitioner/1735607789550253000.1d1db3db-7201-4bb6-8213-59a1d4edd981", + "fullUrl": "Practitioner/1736458919935927452.cd62f2ab-5508-4ae8-9865-b3fda0a7ef29", "resource": { "resourceType": "Practitioner", - "id": "1735607789550253000.1d1db3db-7201-4bb6-8213-59a1d4edd981", + "id": "1736458919935927452.cd62f2ab-5508-4ae8-9865-b3fda0a7ef29", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8590,10 +8672,10 @@ } }, { - "fullUrl": "Practitioner/1735607789550896000.700666bb-6f01-44be-bb36-8def2faea1a3", + "fullUrl": "Practitioner/1736458919937167456.1a9f3b83-1cf1-42ea-88cf-4eb7b1008f58", "resource": { "resourceType": "Practitioner", - "id": "1735607789550896000.700666bb-6f01-44be-bb36-8def2faea1a3", + "id": "1736458919937167456.1a9f3b83-1cf1-42ea-88cf-4eb7b1008f58", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8613,10 +8695,10 @@ } }, { - "fullUrl": "Practitioner/1735607789551727000.c13bfb48-3f3a-4f62-be52-43aa010dbb8a", + "fullUrl": "Practitioner/1736458919938336427.c60baa5e-b771-4247-9cf2-dfaaf34065ce", "resource": { "resourceType": "Practitioner", - "id": "1735607789551727000.c13bfb48-3f3a-4f62-be52-43aa010dbb8a", + "id": "1736458919938336427.c60baa5e-b771-4247-9cf2-dfaaf34065ce", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8636,10 +8718,10 @@ } }, { - "fullUrl": "Practitioner/1735607789552421000.3b8fa292-b469-4171-b58e-dfb28b2cfa83", + "fullUrl": "Practitioner/1736458919939373800.c6c79737-49ce-4b0b-8734-77571152bb92", "resource": { "resourceType": "Practitioner", - "id": "1735607789552421000.3b8fa292-b469-4171-b58e-dfb28b2cfa83", + "id": "1736458919939373800.c6c79737-49ce-4b0b-8734-77571152bb92", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8659,10 +8741,10 @@ } }, { - "fullUrl": "Practitioner/1735607789553063000.45ff9315-aa6b-4569-bba3-31550e5201ae", + "fullUrl": "Practitioner/1736458919940264952.8b005932-d7c2-4377-a7fb-3c6d57f4ca52", "resource": { "resourceType": "Practitioner", - "id": "1735607789553063000.45ff9315-aa6b-4569-bba3-31550e5201ae", + "id": "1736458919940264952.8b005932-d7c2-4377-a7fb-3c6d57f4ca52", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8682,10 +8764,10 @@ } }, { - "fullUrl": "Practitioner/1735607789553667000.3d345330-3495-472b-bd24-2a41c88a0085", + "fullUrl": "Practitioner/1736458919941605564.23c6ec81-973c-44f6-a1bd-4142c789f1cb", "resource": { "resourceType": "Practitioner", - "id": "1735607789553667000.3d345330-3495-472b-bd24-2a41c88a0085", + "id": "1736458919941605564.23c6ec81-973c-44f6-a1bd-4142c789f1cb", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8705,10 +8787,10 @@ } }, { - "fullUrl": "Practitioner/1735607789554302000.c05d6f0e-c752-47eb-a490-1d7771336e8f", + "fullUrl": "Practitioner/1736458919942862944.a82ac561-057b-4014-933b-0a10ad774162", "resource": { "resourceType": "Practitioner", - "id": "1735607789554302000.c05d6f0e-c752-47eb-a490-1d7771336e8f", + "id": "1736458919942862944.a82ac561-057b-4014-933b-0a10ad774162", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8728,10 +8810,10 @@ } }, { - "fullUrl": "Practitioner/1735607789557025000.208f3367-5ff0-4259-8eb5-c571a4d41c86", + "fullUrl": "Practitioner/1736458919947372465.6fed82ed-cbaa-4559-afd1-458b4419cf56", "resource": { "resourceType": "Practitioner", - "id": "1735607789557025000.208f3367-5ff0-4259-8eb5-c571a4d41c86", + "id": "1736458919947372465.6fed82ed-cbaa-4559-afd1-458b4419cf56", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8939,10 +9021,10 @@ } }, { - "fullUrl": "Practitioner/1735607789559587000.41a17b4b-d095-4247-b540-ef28c9fbccf5", + "fullUrl": "Practitioner/1736458919950892993.80ea3265-5bcf-460c-98af-c60f1b81f0a5", "resource": { "resourceType": "Practitioner", - "id": "1735607789559587000.41a17b4b-d095-4247-b540-ef28c9fbccf5", + "id": "1736458919950892993.80ea3265-5bcf-460c-98af-c60f1b81f0a5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -9150,10 +9232,10 @@ } }, { - "fullUrl": "Organization/1735607789560120000.a7136a75-2c15-41be-9029-90a7dcd75c79", + "fullUrl": "Organization/1736458919951778968.ba1b04f0-dd04-49c2-8bde-7abe3dc4072e", "resource": { "resourceType": "Organization", - "id": "1735607789560120000.a7136a75-2c15-41be-9029-90a7dcd75c79", + "id": "1736458919951778968.ba1b04f0-dd04-49c2-8bde-7abe3dc4072e", "identifier": [ { "extension": [ @@ -9186,10 +9268,10 @@ } }, { - "fullUrl": "Location/1735607789561814000.13d2c568-e935-47dd-a6d6-180f28f08fe8", + "fullUrl": "Location/1736458919954385978.c1b50bfc-65f5-4a87-83a3-6d212aac23aa", "resource": { "resourceType": "Location", - "id": "1735607789561814000.13d2c568-e935-47dd-a6d6-180f28f08fe8", + "id": "1736458919954385978.c1b50bfc-65f5-4a87-83a3-6d212aac23aa", "identifier": [ { "extension": [ @@ -9234,10 +9316,10 @@ } }, { - "fullUrl": "Location/1735607789561916000.3e596a74-e98a-4071-be8e-a2ecdf7de385", + "fullUrl": "Location/1736458919954645160.b6f5e5c7-c41a-4cb8-b747-3c341812ec05", "resource": { "resourceType": "Location", - "id": "1735607789561916000.3e596a74-e98a-4071-be8e-a2ecdf7de385", + "id": "1736458919954645160.b6f5e5c7-c41a-4cb8-b747-3c341812ec05", "identifier": [ { "extension": [ @@ -9266,15 +9348,15 @@ ] }, "partOf": { - "reference": "Location/1735607789561814000.13d2c568-e935-47dd-a6d6-180f28f08fe8" + "reference": "Location/1736458919954385978.c1b50bfc-65f5-4a87-83a3-6d212aac23aa" } } }, { - "fullUrl": "Location/1735607789562015000.a9daba62-3d9d-4577-8567-a9192651b29c", + "fullUrl": "Location/1736458919954789077.ab48465c-0ea4-4522-b475-562aa74a81ad", "resource": { "resourceType": "Location", - "id": "1735607789562015000.a9daba62-3d9d-4577-8567-a9192651b29c", + "id": "1736458919954789077.ab48465c-0ea4-4522-b475-562aa74a81ad", "identifier": [ { "extension": [ @@ -9303,15 +9385,15 @@ ] }, "partOf": { - "reference": "Location/1735607789561916000.3e596a74-e98a-4071-be8e-a2ecdf7de385" + "reference": "Location/1736458919954645160.b6f5e5c7-c41a-4cb8-b747-3c341812ec05" } } }, { - "fullUrl": "Location/1735607789562119000.cbf0b8d6-16da-441b-a376-8c3c54ccd2f8", + "fullUrl": "Location/1736458919954945777.785e6ae0-ad63-436e-8b99-604e0b57f83f", "resource": { "resourceType": "Location", - "id": "1735607789562119000.cbf0b8d6-16da-441b-a376-8c3c54ccd2f8", + "id": "1736458919954945777.785e6ae0-ad63-436e-8b99-604e0b57f83f", "identifier": [ { "extension": [ @@ -9361,15 +9443,15 @@ ] }, "partOf": { - "reference": "Location/1735607789562015000.a9daba62-3d9d-4577-8567-a9192651b29c" + "reference": "Location/1736458919954789077.ab48465c-0ea4-4522-b475-562aa74a81ad" } } }, { - "fullUrl": "Location/1735607789562227000.a9cd3ae3-866d-4d80-888e-2dd4f4561a6f", + "fullUrl": "Location/1736458919955111723.245c094f-9405-4609-9334-b40dc4c2dc7e", "resource": { "resourceType": "Location", - "id": "1735607789562227000.a9cd3ae3-866d-4d80-888e-2dd4f4561a6f", + "id": "1736458919955111723.245c094f-9405-4609-9334-b40dc4c2dc7e", "identifier": [ { "extension": [ @@ -9412,15 +9494,15 @@ ] }, "partOf": { - "reference": "Location/1735607789562119000.cbf0b8d6-16da-441b-a376-8c3c54ccd2f8" + "reference": "Location/1736458919954945777.785e6ae0-ad63-436e-8b99-604e0b57f83f" } } }, { - "fullUrl": "Location/1735607789562451000.06a7267a-3ab3-4661-9297-4219312b72a7", + "fullUrl": "Location/1736458919955611294.59e7b2fc-4d8d-4722-9c5e-9e68bed0bee1", "resource": { "resourceType": "Location", - "id": "1735607789562451000.06a7267a-3ab3-4661-9297-4219312b72a7", + "id": "1736458919955611294.59e7b2fc-4d8d-4722-9c5e-9e68bed0bee1", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9472,7 +9554,7 @@ ], "value": "Comprehensive", "assigner": { - "reference": "Organization/1735607789560120000.a7136a75-2c15-41be-9029-90a7dcd75c79" + "reference": "Organization/1736458919951778968.ba1b04f0-dd04-49c2-8bde-7abe3dc4072e" } } ], @@ -9487,15 +9569,15 @@ ] }, "partOf": { - "reference": "Location/1735607789562227000.a9cd3ae3-866d-4d80-888e-2dd4f4561a6f" + "reference": "Location/1736458919955111723.245c094f-9405-4609-9334-b40dc4c2dc7e" } } }, { - "fullUrl": "Organization/1735607789562926000.46198eca-b653-4614-af82-8b2cc24b2045", + "fullUrl": "Organization/1736458919956224286.fafbd012-8257-4028-a3bb-dee6a8c68b86", "resource": { "resourceType": "Organization", - "id": "1735607789562926000.46198eca-b653-4614-af82-8b2cc24b2045", + "id": "1736458919956224286.fafbd012-8257-4028-a3bb-dee6a8c68b86", "identifier": [ { "extension": [ @@ -9528,10 +9610,10 @@ } }, { - "fullUrl": "Location/1735607789563417000.329aec3f-e5d2-4c2f-a62d-d740c22f77af", + "fullUrl": "Location/1736458919957110590.d4bfa857-0750-481d-916b-bae3c3946e62", "resource": { "resourceType": "Location", - "id": "1735607789563417000.329aec3f-e5d2-4c2f-a62d-d740c22f77af", + "id": "1736458919957110590.d4bfa857-0750-481d-916b-bae3c3946e62", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9591,7 +9673,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1735607789562926000.46198eca-b653-4614-af82-8b2cc24b2045" + "reference": "Organization/1736458919956224286.fafbd012-8257-4028-a3bb-dee6a8c68b86" } } ], @@ -9609,37 +9691,37 @@ } }, { - "fullUrl": "Location/1735607789563728000.b82acbca-feca-49ec-af36-5898b6a56f21", + "fullUrl": "Location/1736458919957617623.01068aca-b9a0-47a5-8a1d-2cd0b1ec4784", "resource": { "resourceType": "Location", - "id": "1735607789563728000.b82acbca-feca-49ec-af36-5898b6a56f21", + "id": "1736458919957617623.01068aca-b9a0-47a5-8a1d-2cd0b1ec4784", "description": "Its Temporary", "mode": "instance" } }, { - "fullUrl": "Location/1735607789564031000.d02a9d2f-25fd-4631-a14f-7c27652e16e8", + "fullUrl": "Location/1736458919958045340.21174502-311f-40c6-9a38-005e0e4999c6", "resource": { "resourceType": "Location", - "id": "1735607789564031000.d02a9d2f-25fd-4631-a14f-7c27652e16e8", + "id": "1736458919958045340.21174502-311f-40c6-9a38-005e0e4999c6", "description": "Pending Location", "mode": "instance" } }, { - "fullUrl": "Location/1735607789564325000.27604f89-b265-4648-bb40-4008fe93d4a6", + "fullUrl": "Location/1736458919958453454.d4fe88f6-1a62-4ae8-9f9c-4a6656ac1836", "resource": { "resourceType": "Location", - "id": "1735607789564325000.27604f89-b265-4648-bb40-4008fe93d4a6", + "id": "1736458919958453454.d4fe88f6-1a62-4ae8-9f9c-4a6656ac1836", "description": "Prior Location", "mode": "instance" } }, { - "fullUrl": "Organization/1735607789564762000.f9a0a1dd-dfec-4678-899b-89f5c0af9955", + "fullUrl": "Organization/1736458919959174216.067834e8-1d6a-4a96-a8e2-92568e4f0add", "resource": { "resourceType": "Organization", - "id": "1735607789564762000.f9a0a1dd-dfec-4678-899b-89f5c0af9955", + "id": "1736458919959174216.067834e8-1d6a-4a96-a8e2-92568e4f0add", "identifier": [ { "extension": [ @@ -9672,10 +9754,10 @@ } }, { - "fullUrl": "Location/1735607789565275000.2856cdc2-b42f-4771-a32a-46d4d25e5cfd", + "fullUrl": "Location/1736458919959894717.5803343c-dab9-4848-a8ab-d88ad2f5edae", "resource": { "resourceType": "Location", - "id": "1735607789565275000.2856cdc2-b42f-4771-a32a-46d4d25e5cfd", + "id": "1736458919959894717.5803343c-dab9-4848-a8ab-d88ad2f5edae", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9735,7 +9817,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1735607789564762000.f9a0a1dd-dfec-4678-899b-89f5c0af9955" + "reference": "Organization/1736458919959174216.067834e8-1d6a-4a96-a8e2-92568e4f0add" } } ], @@ -9753,10 +9835,10 @@ } }, { - "fullUrl": "EpisodeOfCare/1735607789565923000.72b02b00-3b17-4a4f-93cb-c649a1c96487", + "fullUrl": "EpisodeOfCare/1736458919960723585.c295f557-b8e7-4837-9bc4-215639e42797", "resource": { "resourceType": "EpisodeOfCare", - "id": "1735607789565923000.72b02b00-3b17-4a4f-93cb-c649a1c96487", + "id": "1736458919960723585.c295f557-b8e7-4837-9bc4-215639e42797", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -9775,10 +9857,10 @@ } }, { - "fullUrl": "Observation/1735607789866616000.4c9c49de-6679-4d13-aab6-08738b57b19b", + "fullUrl": "Observation/1736458920615775591.037031a7-222b-4ad2-9b9b-43ab53a20fe5", "resource": { "resourceType": "Observation", - "id": "1735607789866616000.4c9c49de-6679-4d13-aab6-08738b57b19b", + "id": "1736458920615775591.037031a7-222b-4ad2-9b9b-43ab53a20fe5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -9959,7 +10041,7 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1735607789865092000.b3da9051-a34c-4ce0-93a9-11bae43f2835" + "reference": "Device/1736458920611892162.22f13f22-2f8a-4dae-9fa8-1b94200f6d87" } }, { @@ -10030,10 +10112,10 @@ ] }, "subject": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "encounter": { - "reference": "Encounter/1735607789565393000.2075dbd4-8b88-4110-b872-e6a445cdde7f" + "reference": "Encounter/1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -10046,13 +10128,13 @@ }, "performer": [ { - "reference": "Organization/1735607789867204000.845c04fa-779b-4280-8ccd-d76ea2a0f90a" + "reference": "Organization/1736458920618524210.a558076c-df2e-47ac-8eb9-22b1a0e54b1a" }, { - "reference": "PractitionerRole/1735607789867416000.d58519c0-4e71-481c-b432-da5cb9d9c3c0" + "reference": "PractitionerRole/1736458920619658330.a303de18-2144-4283-93a5-04c547074295" }, { - "reference": "PractitionerRole/1735607789868200000.a5a6c343-ee54-41ed-b7f7-56c13b63d170" + "reference": "PractitionerRole/1736458920624637146.8a3795ad-bdda-42b3-be1b-8f3a04b1dee0" } ], "valueCodeableConcept": { @@ -10150,7 +10232,7 @@ } ], "authorReference": { - "reference": "Practitioner/1735607789871179000.ba90b7be-4e6d-4d97-82f5-240daa90ed6d" + "reference": "Practitioner/1736458920630365390.9aa95eb4-7a44-4b66-80bb-027b21320b67" }, "time": "2023-02-11", "_time": { @@ -10222,7 +10304,7 @@ } ], "authorReference": { - "reference": "Practitioner/1735607789876151000.d30d295f-a251-40f1-b90d-c271f3c82960" + "reference": "Practitioner/1736458920634440232.0779a694-52c3-492d-92b4-14f70012e45a" }, "time": "2023-02-11", "_time": { @@ -10269,7 +10351,7 @@ ] }, "device": { - "reference": "Device/1735607789877411000.3dfd7c60-4c8a-41bb-bc2e-c5151ab8f2ef" + "reference": "Device/1736458920637984435.f85669bb-8abe-429b-aeb7-3253f6f1c168" }, "referenceRange": [ { @@ -10279,10 +10361,10 @@ } }, { - "fullUrl": "Device/1735607789865092000.b3da9051-a34c-4ce0-93a9-11bae43f2835", + "fullUrl": "Device/1736458920611892162.22f13f22-2f8a-4dae-9fa8-1b94200f6d87", "resource": { "resourceType": "Device", - "id": "1735607789865092000.b3da9051-a34c-4ce0-93a9-11bae43f2835", + "id": "1736458920611892162.22f13f22-2f8a-4dae-9fa8-1b94200f6d87", "identifier": [ { "extension": [ @@ -10310,10 +10392,10 @@ } }, { - "fullUrl": "Organization/1735607789867204000.845c04fa-779b-4280-8ccd-d76ea2a0f90a", + "fullUrl": "Organization/1736458920618524210.a558076c-df2e-47ac-8eb9-22b1a0e54b1a", "resource": { "resourceType": "Organization", - "id": "1735607789867204000.845c04fa-779b-4280-8ccd-d76ea2a0f90a", + "id": "1736458920618524210.a558076c-df2e-47ac-8eb9-22b1a0e54b1a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -10351,10 +10433,10 @@ } }, { - "fullUrl": "Practitioner/1735607789867967000.1ea70da0-1ed7-419c-b2b3-f00b02cfcd33", + "fullUrl": "Practitioner/1736458920623562674.76842c0f-e3b2-4fd3-913c-baa2d2ac3ccc", "resource": { "resourceType": "Practitioner", - "id": "1735607789867967000.1ea70da0-1ed7-419c-b2b3-f00b02cfcd33", + "id": "1736458920623562674.76842c0f-e3b2-4fd3-913c-baa2d2ac3ccc", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -10382,12 +10464,12 @@ } }, { - "fullUrl": "PractitionerRole/1735607789867416000.d58519c0-4e71-481c-b432-da5cb9d9c3c0", + "fullUrl": "PractitionerRole/1736458920619658330.a303de18-2144-4283-93a5-04c547074295", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789867416000.d58519c0-4e71-481c-b432-da5cb9d9c3c0", + "id": "1736458920619658330.a303de18-2144-4283-93a5-04c547074295", "practitioner": { - "reference": "Practitioner/1735607789867967000.1ea70da0-1ed7-419c-b2b3-f00b02cfcd33" + "reference": "Practitioner/1736458920623562674.76842c0f-e3b2-4fd3-913c-baa2d2ac3ccc" }, "code": [ { @@ -10402,10 +10484,10 @@ } }, { - "fullUrl": "Practitioner/1735607789868785000.72a1973e-eccc-442e-a95d-dd7d397577fb", + "fullUrl": "Practitioner/1736458920625858716.15a29e4b-24ec-4cb6-9cc3-440e068a22a4", "resource": { "resourceType": "Practitioner", - "id": "1735607789868785000.72a1973e-eccc-442e-a95d-dd7d397577fb", + "id": "1736458920625858716.15a29e4b-24ec-4cb6-9cc3-440e068a22a4", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -10433,10 +10515,10 @@ } }, { - "fullUrl": "Organization/1735607789869746000.298d19a2-8fbc-404c-917b-c617166d85eb", + "fullUrl": "Organization/1736458920627825413.4c7f76f7-59cf-4075-ae43-4436aafbccdb", "resource": { "resourceType": "Organization", - "id": "1735607789869746000.298d19a2-8fbc-404c-917b-c617166d85eb", + "id": "1736458920627825413.4c7f76f7-59cf-4075-ae43-4436aafbccdb", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -10510,15 +10592,15 @@ } }, { - "fullUrl": "PractitionerRole/1735607789868200000.a5a6c343-ee54-41ed-b7f7-56c13b63d170", + "fullUrl": "PractitionerRole/1736458920624637146.8a3795ad-bdda-42b3-be1b-8f3a04b1dee0", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789868200000.a5a6c343-ee54-41ed-b7f7-56c13b63d170", + "id": "1736458920624637146.8a3795ad-bdda-42b3-be1b-8f3a04b1dee0", "practitioner": { - "reference": "Practitioner/1735607789868785000.72a1973e-eccc-442e-a95d-dd7d397577fb" + "reference": "Practitioner/1736458920625858716.15a29e4b-24ec-4cb6-9cc3-440e068a22a4" }, "organization": { - "reference": "Organization/1735607789869746000.298d19a2-8fbc-404c-917b-c617166d85eb" + "reference": "Organization/1736458920627825413.4c7f76f7-59cf-4075-ae43-4436aafbccdb" }, "code": [ { @@ -10533,10 +10615,10 @@ } }, { - "fullUrl": "Practitioner/1735607789871179000.ba90b7be-4e6d-4d97-82f5-240daa90ed6d", + "fullUrl": "Practitioner/1736458920630365390.9aa95eb4-7a44-4b66-80bb-027b21320b67", "resource": { "resourceType": "Practitioner", - "id": "1735607789871179000.ba90b7be-4e6d-4d97-82f5-240daa90ed6d", + "id": "1736458920630365390.9aa95eb4-7a44-4b66-80bb-027b21320b67", "identifier": [ { "value": "Bob R.N.A." @@ -10545,10 +10627,10 @@ } }, { - "fullUrl": "Practitioner/1735607789876151000.d30d295f-a251-40f1-b90d-c271f3c82960", + "fullUrl": "Practitioner/1736458920634440232.0779a694-52c3-492d-92b4-14f70012e45a", "resource": { "resourceType": "Practitioner", - "id": "1735607789876151000.d30d295f-a251-40f1-b90d-c271f3c82960", + "id": "1736458920634440232.0779a694-52c3-492d-92b4-14f70012e45a", "identifier": [ { "value": "Bob R.N.A." @@ -10557,10 +10639,10 @@ } }, { - "fullUrl": "Device/1735607789877411000.3dfd7c60-4c8a-41bb-bc2e-c5151ab8f2ef", + "fullUrl": "Device/1736458920637984435.f85669bb-8abe-429b-aeb7-3253f6f1c168", "resource": { "resourceType": "Device", - "id": "1735607789877411000.3dfd7c60-4c8a-41bb-bc2e-c5151ab8f2ef", + "id": "1736458920637984435.f85669bb-8abe-429b-aeb7-3253f6f1c168", "identifier": [ { "extension": [ @@ -10588,10 +10670,10 @@ } }, { - "fullUrl": "Observation/1735607789881662000.e59d202f-4baa-4da2-aee1-f7ef9486d807", + "fullUrl": "Observation/1736458920645881489.c5b8d22b-fdee-47f0-a4f9-163e9ff68f73", "resource": { "resourceType": "Observation", - "id": "1735607789881662000.e59d202f-4baa-4da2-aee1-f7ef9486d807", + "id": "1736458920645881489.c5b8d22b-fdee-47f0-a4f9-163e9ff68f73", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -10792,13 +10874,13 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1735607789880006000.027c4610-d062-466b-8e1f-46dae1827d5c" + "reference": "Device/1736458920641995022.6eee578d-e45d-4216-8fc8-ffe05e61c7bc" } }, { "url": "OBX.18", "valueReference": { - "reference": "Device/1735607789880255000.335f9517-90d4-4725-96b3-540ae7f3075e" + "reference": "Device/1736458920642473014.441ee275-6892-4281-9e0e-dbd422351165" } }, { @@ -10891,10 +10973,10 @@ ] }, "subject": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "encounter": { - "reference": "Encounter/1735607789565393000.2075dbd4-8b88-4110-b872-e6a445cdde7f" + "reference": "Encounter/1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -10907,16 +10989,16 @@ }, "performer": [ { - "reference": "Organization/1735607789882237000.ded6b237-8e1e-4586-9cf4-d7ce75f969f9" + "reference": "Organization/1736458920647036708.bf67a5f9-1e20-40ab-b768-547df1104f8d" }, { - "reference": "PractitionerRole/1735607789882486000.3fa7c2df-7240-48f1-89f0-d1d5f70fb313" + "reference": "PractitionerRole/1736458920647688584.b2e24d93-ae1a-4c16-a147-ef6706a55dea" }, { - "reference": "PractitionerRole/1735607789883285000.2df30c38-52ec-461f-aea2-39c9311158b6" + "reference": "PractitionerRole/1736458920649414780.86bfb081-ba64-4c9a-bd6e-3fba2becf06d" }, { - "reference": "PractitionerRole/1735607789884046000.39617dc9-c62f-4a82-a669-d48a7589cfcc" + "reference": "PractitionerRole/1736458920651528927.5cf8028e-d6ab-4d60-be20-4cc542492f0d" } ], "valueCodeableConcept": { @@ -11028,7 +11110,7 @@ } ], "authorReference": { - "reference": "Practitioner/1735607789887216000.275894d7-7ce8-4cd6-b9e5-45737061fc20" + "reference": "Practitioner/1736458920658903541.02ec34da-c7ba-49b5-8ba9-31c0eb5b249f" }, "time": "2023-02-21", "_time": { @@ -11100,7 +11182,7 @@ } ], "authorReference": { - "reference": "Practitioner/1735607789888555000.ac2b7bf1-062a-475e-92ac-9e3da4a0326b" + "reference": "Practitioner/1736458920660630409.7949f4ad-b129-4e63-957f-0bf0c97cde16" }, "time": "2023-02-21", "_time": { @@ -11147,7 +11229,7 @@ ] }, "device": { - "reference": "Device/1735607789890265000.ea2f7072-b43a-4d0a-a12d-7274a3521d38" + "reference": "Device/1736458920662629433.05dc3a78-dc05-44b0-8b88-203f9c1c18c0" }, "referenceRange": [ { @@ -11157,10 +11239,10 @@ } }, { - "fullUrl": "Device/1735607789880006000.027c4610-d062-466b-8e1f-46dae1827d5c", + "fullUrl": "Device/1736458920641995022.6eee578d-e45d-4216-8fc8-ffe05e61c7bc", "resource": { "resourceType": "Device", - "id": "1735607789880006000.027c4610-d062-466b-8e1f-46dae1827d5c", + "id": "1736458920641995022.6eee578d-e45d-4216-8fc8-ffe05e61c7bc", "identifier": [ { "extension": [ @@ -11188,10 +11270,10 @@ } }, { - "fullUrl": "Device/1735607789880255000.335f9517-90d4-4725-96b3-540ae7f3075e", + "fullUrl": "Device/1736458920642473014.441ee275-6892-4281-9e0e-dbd422351165", "resource": { "resourceType": "Device", - "id": "1735607789880255000.335f9517-90d4-4725-96b3-540ae7f3075e", + "id": "1736458920642473014.441ee275-6892-4281-9e0e-dbd422351165", "identifier": [ { "extension": [ @@ -11219,10 +11301,10 @@ } }, { - "fullUrl": "Organization/1735607789882237000.ded6b237-8e1e-4586-9cf4-d7ce75f969f9", + "fullUrl": "Organization/1736458920647036708.bf67a5f9-1e20-40ab-b768-547df1104f8d", "resource": { "resourceType": "Organization", - "id": "1735607789882237000.ded6b237-8e1e-4586-9cf4-d7ce75f969f9", + "id": "1736458920647036708.bf67a5f9-1e20-40ab-b768-547df1104f8d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -11260,10 +11342,10 @@ } }, { - "fullUrl": "Practitioner/1735607789883059000.cacc9c0a-0287-4c76-b7d6-257a9aa7827d", + "fullUrl": "Practitioner/1736458920648824451.55021dd1-8052-468b-9b8c-ababf512bb3b", "resource": { "resourceType": "Practitioner", - "id": "1735607789883059000.cacc9c0a-0287-4c76-b7d6-257a9aa7827d", + "id": "1736458920648824451.55021dd1-8052-468b-9b8c-ababf512bb3b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11291,12 +11373,12 @@ } }, { - "fullUrl": "PractitionerRole/1735607789882486000.3fa7c2df-7240-48f1-89f0-d1d5f70fb313", + "fullUrl": "PractitionerRole/1736458920647688584.b2e24d93-ae1a-4c16-a147-ef6706a55dea", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789882486000.3fa7c2df-7240-48f1-89f0-d1d5f70fb313", + "id": "1736458920647688584.b2e24d93-ae1a-4c16-a147-ef6706a55dea", "practitioner": { - "reference": "Practitioner/1735607789883059000.cacc9c0a-0287-4c76-b7d6-257a9aa7827d" + "reference": "Practitioner/1736458920648824451.55021dd1-8052-468b-9b8c-ababf512bb3b" }, "code": [ { @@ -11311,10 +11393,10 @@ } }, { - "fullUrl": "Practitioner/1735607789883824000.bc25de7e-db35-4c1c-8eac-3992f999eb42", + "fullUrl": "Practitioner/1736458920650803478.badfe631-fa25-4b9b-abb6-d109d577be95", "resource": { "resourceType": "Practitioner", - "id": "1735607789883824000.bc25de7e-db35-4c1c-8eac-3992f999eb42", + "id": "1736458920650803478.badfe631-fa25-4b9b-abb6-d109d577be95", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11342,12 +11424,12 @@ } }, { - "fullUrl": "PractitionerRole/1735607789883285000.2df30c38-52ec-461f-aea2-39c9311158b6", + "fullUrl": "PractitionerRole/1736458920649414780.86bfb081-ba64-4c9a-bd6e-3fba2becf06d", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789883285000.2df30c38-52ec-461f-aea2-39c9311158b6", + "id": "1736458920649414780.86bfb081-ba64-4c9a-bd6e-3fba2becf06d", "practitioner": { - "reference": "Practitioner/1735607789883824000.bc25de7e-db35-4c1c-8eac-3992f999eb42" + "reference": "Practitioner/1736458920650803478.badfe631-fa25-4b9b-abb6-d109d577be95" }, "code": [ { @@ -11362,10 +11444,10 @@ } }, { - "fullUrl": "Practitioner/1735607789884568000.2e920fdb-1ca0-4414-8b26-c5e1f97b48c1", + "fullUrl": "Practitioner/1736458920652951199.036b872b-f9eb-4a02-8e92-6dec10dcf6d0", "resource": { "resourceType": "Practitioner", - "id": "1735607789884568000.2e920fdb-1ca0-4414-8b26-c5e1f97b48c1", + "id": "1736458920652951199.036b872b-f9eb-4a02-8e92-6dec10dcf6d0", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11393,10 +11475,10 @@ } }, { - "fullUrl": "Organization/1735607789885738000.ded4959b-972e-4c21-9b74-479a5a1a4bfd", + "fullUrl": "Organization/1736458920656196971.e58fb987-95e5-4966-834b-ee46bd76f3e3", "resource": { "resourceType": "Organization", - "id": "1735607789885738000.ded4959b-972e-4c21-9b74-479a5a1a4bfd", + "id": "1736458920656196971.e58fb987-95e5-4966-834b-ee46bd76f3e3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -11470,15 +11552,15 @@ } }, { - "fullUrl": "PractitionerRole/1735607789884046000.39617dc9-c62f-4a82-a669-d48a7589cfcc", + "fullUrl": "PractitionerRole/1736458920651528927.5cf8028e-d6ab-4d60-be20-4cc542492f0d", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789884046000.39617dc9-c62f-4a82-a669-d48a7589cfcc", + "id": "1736458920651528927.5cf8028e-d6ab-4d60-be20-4cc542492f0d", "practitioner": { - "reference": "Practitioner/1735607789884568000.2e920fdb-1ca0-4414-8b26-c5e1f97b48c1" + "reference": "Practitioner/1736458920652951199.036b872b-f9eb-4a02-8e92-6dec10dcf6d0" }, "organization": { - "reference": "Organization/1735607789885738000.ded4959b-972e-4c21-9b74-479a5a1a4bfd" + "reference": "Organization/1736458920656196971.e58fb987-95e5-4966-834b-ee46bd76f3e3" }, "code": [ { @@ -11493,10 +11575,10 @@ } }, { - "fullUrl": "Practitioner/1735607789887216000.275894d7-7ce8-4cd6-b9e5-45737061fc20", + "fullUrl": "Practitioner/1736458920658903541.02ec34da-c7ba-49b5-8ba9-31c0eb5b249f", "resource": { "resourceType": "Practitioner", - "id": "1735607789887216000.275894d7-7ce8-4cd6-b9e5-45737061fc20", + "id": "1736458920658903541.02ec34da-c7ba-49b5-8ba9-31c0eb5b249f", "identifier": [ { "value": "Bob R.N.A." @@ -11505,10 +11587,10 @@ } }, { - "fullUrl": "Practitioner/1735607789888555000.ac2b7bf1-062a-475e-92ac-9e3da4a0326b", + "fullUrl": "Practitioner/1736458920660630409.7949f4ad-b129-4e63-957f-0bf0c97cde16", "resource": { "resourceType": "Practitioner", - "id": "1735607789888555000.ac2b7bf1-062a-475e-92ac-9e3da4a0326b", + "id": "1736458920660630409.7949f4ad-b129-4e63-957f-0bf0c97cde16", "identifier": [ { "value": "Bob R.N.A." @@ -11517,10 +11599,10 @@ } }, { - "fullUrl": "Device/1735607789890265000.ea2f7072-b43a-4d0a-a12d-7274a3521d38", + "fullUrl": "Device/1736458920662629433.05dc3a78-dc05-44b0-8b88-203f9c1c18c0", "resource": { "resourceType": "Device", - "id": "1735607789890265000.ea2f7072-b43a-4d0a-a12d-7274a3521d38", + "id": "1736458920662629433.05dc3a78-dc05-44b0-8b88-203f9c1c18c0", "identifier": [ { "extension": [ @@ -11548,10 +11630,10 @@ } }, { - "fullUrl": "Specimen/1735607789900989000.8ef9776c-38fd-4f71-9870-7bd717c42e5a", + "fullUrl": "Specimen/1736458920679227059.fe188836-63a0-4288-bf57-6eda8bf32bd5", "resource": { "resourceType": "Specimen", - "id": "1735607789900989000.8ef9776c-38fd-4f71-9870-7bd717c42e5a", + "id": "1736458920679227059.fe188836-63a0-4288-bf57-6eda8bf32bd5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -11582,7 +11664,7 @@ }, "collection": { "collector": { - "reference": "Practitioner/1735607789903609000.7af2a3df-b8ef-4355-8b12-7610c582a821" + "reference": "Practitioner/1736458920685578099.f9d62771-4cbc-4f85-bd9b-bb0b52588495" }, "collectedPeriod": { "end": "2024-02-20", @@ -11634,7 +11716,7 @@ } ], "code": "BOUIN", - "display": "Bouin\u0027s solution" + "display": "Bouin's solution" } ] } @@ -11718,10 +11800,10 @@ } }, { - "fullUrl": "Practitioner/1735607789903609000.7af2a3df-b8ef-4355-8b12-7610c582a821", + "fullUrl": "Practitioner/1736458920685578099.f9d62771-4cbc-4f85-bd9b-bb0b52588495", "resource": { "resourceType": "Practitioner", - "id": "1735607789903609000.7af2a3df-b8ef-4355-8b12-7610c582a821", + "id": "1736458920685578099.f9d62771-4cbc-4f85-bd9b-bb0b52588495", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -11870,10 +11952,10 @@ } }, { - "fullUrl": "Specimen/1735607789912796000.73e5831e-9e48-4205-b98a-f49a7a6c5871", + "fullUrl": "Specimen/1736458920702791950.82e09fdf-e892-4c29-b1fe-5fedccdab8db", "resource": { "resourceType": "Specimen", - "id": "1735607789912796000.73e5831e-9e48-4205-b98a-f49a7a6c5871", + "id": "1736458920702791950.82e09fdf-e892-4c29-b1fe-5fedccdab8db", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -12624,10 +12706,10 @@ } }, { - "fullUrl": "Specimen/1735607789917871000.25140080-b05e-4747-9149-aeff9ab51569", + "fullUrl": "Specimen/1736458920709529525.ddfe4b32-e8a0-4e31-927c-53a95ed106d8", "resource": { "resourceType": "Specimen", - "id": "1735607789917871000.25140080-b05e-4747-9149-aeff9ab51569", + "id": "1736458920709529525.ddfe4b32-e8a0-4e31-927c-53a95ed106d8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -13241,10 +13323,10 @@ } }, { - "fullUrl": "Coverage/1735607789932102000.e63069ad-017d-43c8-8d90-a730adac71ed", + "fullUrl": "Coverage/1736458920772699215.9e2606e0-09b7-468f-b15c-76d1176d6d29", "resource": { "resourceType": "Coverage", - "id": "1735607789932102000.e63069ad-017d-43c8-8d90-a730adac71ed", + "id": "1736458920772699215.9e2606e0-09b7-468f-b15c-76d1176d6d29", "extension": [ { "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", @@ -13534,7 +13616,7 @@ { "url": "IN1.4", "valueReference": { - "reference": "Organization/1735607789923392000.ed1387c6-ffa3-44c9-b9c9-809827ca9f4a" + "reference": "Organization/1736458920751467306.88e46691-ef37-4dfb-8798-2fed42f3abaa" } }, { @@ -13580,7 +13662,7 @@ { "url": "IN1.30", "valueReference": { - "reference": "Practitioner/1735607789924880000.ba458e15-6784-4e40-a99c-3974fd5aec5a" + "reference": "Practitioner/1736458920754920908.43f1c808-34b3-4938-90c1-49e83de06c8f" } }, { @@ -14126,7 +14208,7 @@ { "url": "IN1.9", "valueReference": { - "reference": "Organization/1735607789930711000.01030f7b-da21-40a4-bbd9-b6efc924794f" + "reference": "Organization/1736458920769876333.ebbfc04f-ba21-4ae1-9209-307f9cf9e7e0" } }, { @@ -14156,7 +14238,7 @@ { "url": "IN1.11", "valueReference": { - "reference": "Organization/1735607789931245000.351c2217-28d0-46f9-a4c9-ec2b59c5a807" + "reference": "Organization/1736458920771023984.57e8ade6-a6f4-4cc4-92ae-b3fb14b891cc" } } ] @@ -14176,13 +14258,13 @@ ] }, "policyHolder": { - "reference": "Organization/1735607789932786000.631b2142-59a8-4e2d-bacd-c2b22f604630" + "reference": "Organization/1736458920774314644.bd94f784-594a-4bf5-9b7f-39eb07d7e31d" }, "subscriber": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "beneficiary": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "relationship": { "coding": [ @@ -14219,24 +14301,24 @@ }, "payor": [ { - "reference": "Organization/1735607789931942000.285e0a35-b743-4d9b-b46e-1ebc22ab716a" + "reference": "Organization/1736458920772394039.1a10046b-5638-4266-9376-700335f5ca49" } ] } }, { - "fullUrl": "Organization/1735607789923392000.ed1387c6-ffa3-44c9-b9c9-809827ca9f4a", + "fullUrl": "Organization/1736458920751467306.88e46691-ef37-4dfb-8798-2fed42f3abaa", "resource": { "resourceType": "Organization", - "id": "1735607789923392000.ed1387c6-ffa3-44c9-b9c9-809827ca9f4a", + "id": "1736458920751467306.88e46691-ef37-4dfb-8798-2fed42f3abaa", "name": "AETNA US HEALTHCARE" } }, { - "fullUrl": "Practitioner/1735607789924880000.ba458e15-6784-4e40-a99c-3974fd5aec5a", + "fullUrl": "Practitioner/1736458920754920908.43f1c808-34b3-4938-90c1-49e83de06c8f", "resource": { "resourceType": "Practitioner", - "id": "1735607789924880000.ba458e15-6784-4e40-a99c-3974fd5aec5a", + "id": "1736458920754920908.43f1c808-34b3-4938-90c1-49e83de06c8f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -14312,26 +14394,26 @@ } }, { - "fullUrl": "Organization/1735607789930711000.01030f7b-da21-40a4-bbd9-b6efc924794f", + "fullUrl": "Organization/1736458920769876333.ebbfc04f-ba21-4ae1-9209-307f9cf9e7e0", "resource": { "resourceType": "Organization", - "id": "1735607789930711000.01030f7b-da21-40a4-bbd9-b6efc924794f", + "id": "1736458920769876333.ebbfc04f-ba21-4ae1-9209-307f9cf9e7e0", "name": "AETNA SERVICES INC" } }, { - "fullUrl": "Organization/1735607789931245000.351c2217-28d0-46f9-a4c9-ec2b59c5a807", + "fullUrl": "Organization/1736458920771023984.57e8ade6-a6f4-4cc4-92ae-b3fb14b891cc", "resource": { "resourceType": "Organization", - "id": "1735607789931245000.351c2217-28d0-46f9-a4c9-ec2b59c5a807", + "id": "1736458920771023984.57e8ade6-a6f4-4cc4-92ae-b3fb14b891cc", "name": "AETNA US HEALTHCARE" } }, { - "fullUrl": "Organization/1735607789931942000.285e0a35-b743-4d9b-b46e-1ebc22ab716a", + "fullUrl": "Organization/1736458920772394039.1a10046b-5638-4266-9376-700335f5ca49", "resource": { "resourceType": "Organization", - "id": "1735607789931942000.285e0a35-b743-4d9b-b46e-1ebc22ab716a", + "id": "1736458920772394039.1a10046b-5638-4266-9376-700335f5ca49", "name": "AETNA US HEALTHCARE", "address": [ { @@ -14368,10 +14450,10 @@ } }, { - "fullUrl": "Organization/1735607789932786000.631b2142-59a8-4e2d-bacd-c2b22f604630", + "fullUrl": "Organization/1736458920774314644.bd94f784-594a-4bf5-9b7f-39eb07d7e31d", "resource": { "resourceType": "Organization", - "id": "1735607789932786000.631b2142-59a8-4e2d-bacd-c2b22f604630", + "id": "1736458920774314644.bd94f784-594a-4bf5-9b7f-39eb07d7e31d", "identifier": [ { "extension": [ @@ -14399,10 +14481,10 @@ } }, { - "fullUrl": "ServiceRequest/1735607789970368000.6967a2e6-ff5c-4045-b6e7-f45f41df3151", + "fullUrl": "ServiceRequest/1736458920902724501.0431bff9-27de-4e8c-988a-ecae9bd127c5", "resource": { "resourceType": "ServiceRequest", - "id": "1735607789970368000.6967a2e6-ff5c-4045-b6e7-f45f41df3151", + "id": "1736458920902724501.0431bff9-27de-4e8c-988a-ecae9bd127c5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event", @@ -14447,25 +14529,25 @@ { "url": "ORC.19", "valueReference": { - "reference": "Practitioner/1735607789940914000.788686ba-c301-4be2-a3e6-63111ba393e9" + "reference": "Practitioner/1736458920799795141.fcf933fe-e346-4d10-af8d-cdbba647f04c" } }, { "url": "ORC.19", "valueReference": { - "reference": "Practitioner/1735607789941326000.a4ff8de9-2314-409f-832c-d01f125e078c" + "reference": "Practitioner/1736458920801461582.15e1dc1c-7313-4cf0-9b4a-e0e16ac15fa6" } }, { "url": "orc-21-ordering-facility-name", "valueReference": { - "reference": "Organization/1735607789941932000.facb898e-6772-44ae-9f42-e93f58a2a1ff" + "reference": "Organization/1736458920803592003.ec2d88f8-66d0-4a59-b737-f0376f3e185f" } }, { "url": "orc-21-ordering-facility-name", "valueReference": { - "reference": "Organization/1735607789942295000.9bbce4ca-edb2-4042-8aac-4dbd010e9913" + "reference": "Organization/1736458920805197936.fd6917c1-e680-4828-87ff-e1f10f51efad" } }, { @@ -14695,43 +14777,43 @@ { "url": "ORC.10", "valueReference": { - "reference": "Practitioner/1735607789944657000.8c808aa6-800f-4c99-b5eb-716e16797034" + "reference": "Practitioner/1736458920818181326.5320c4a2-c958-42f7-826b-00a17849b3bf" } }, { "url": "ORC.10", "valueReference": { - "reference": "Practitioner/1735607789945093000.e6359e5a-881f-4478-b061-253752bb5b8e" + "reference": "Practitioner/1736458920820196189.4929f73e-06dc-4c3e-a32a-156d5e325643" } }, { "url": "ORC.11", "valueReference": { - "reference": "Practitioner/1735607789945544000.f4f7ab82-bf2a-4b24-96e2-5d4b923e1a09" + "reference": "Practitioner/1736458920822117756.2dea680a-aa65-4c79-bf55-d9f6129ef3c3" } }, { "url": "ORC.11", "valueReference": { - "reference": "Practitioner/1735607789945954000.97aa7aad-3139-43eb-b06c-77fcec2d72a9" + "reference": "Practitioner/1736458920823872499.77abc199-02c2-4779-b702-1ec22ef5115d" } }, { "url": "orc-12-ordering-provider", "valueReference": { - "reference": "Practitioner/1735607789946382000.8f06e42c-c03d-417e-b118-362ceecbfe11" + "reference": "Practitioner/1736458920826512402.eebd8eb7-1647-4bda-b93e-68c62721862f" } }, { "url": "orc-12-ordering-provider", "valueReference": { - "reference": "Practitioner/1735607789946792000.d7722bde-2b53-4660-9be3-f4ae29b459b2" + "reference": "Practitioner/1736458920829033502.678b99c3-ae47-4571-a7f7-0f462525de7c" } }, { "url": "ORC.13", "valueReference": { - "reference": "Location/1735607789947532000.5a6f07d5-c0a3-4b6e-9664-8b20d94c211a" + "reference": "Location/1736458920834247502.182e2faf-406d-4ecd-949e-947bbecf0349" } }, { @@ -14867,7 +14949,7 @@ } ], "code": "BOUIN", - "display": "Bouin\u0027s solution" + "display": "Bouin's solution" } ] } @@ -14922,13 +15004,13 @@ { "url": "OBR.16", "valueReference": { - "reference": "Practitioner/1735607789950376000.24c620b2-301b-47a2-ad99-7ec33b972f10" + "reference": "Practitioner/1736458920844194703.d758016e-e2e2-4371-a056-b52db3d3e28d" } }, { "url": "OBR.16", "valueReference": { - "reference": "Practitioner/1735607789950837000.ae5ab2b7-eb27-45f4-8cfa-5fb6f7c6cd84" + "reference": "Practitioner/1736458920846638676.ea0f338d-39a6-4f7b-9d60-ed3324e78e7f" } }, { @@ -15174,13 +15256,13 @@ { "url": "OBR.28", "valueReference": { - "reference": "Practitioner/1735607789953413000.2d4f9d48-5337-4631-b922-f0338e58b626" + "reference": "Practitioner/1736458920855042037.198f88ba-75fc-4f63-9670-e811df1dc280" } }, { "url": "OBR.28", "valueReference": { - "reference": "Practitioner/1735607789953884000.d23e78fb-5fcd-4db0-9450-e5f2738816dd" + "reference": "Practitioner/1736458920856453359.1ac84f1a-2e6f-4196-ac73-66798dfc767c" } }, { @@ -15235,13 +15317,13 @@ { "url": "OBR.33", "valueReference": { - "reference": "PractitionerRole/1735607789961679000.e35ed0d5-81e7-4004-b5a2-9c4bb96283e8" + "reference": "PractitionerRole/1736458920879399261.fee69f95-844a-48cc-b0fc-221f3eb8f7e8" } }, { "url": "OBR.33", "valueReference": { - "reference": "PractitionerRole/1735607789964180000.ac3bf872-b343-49a6-bc7a-a1e4c67a78ff" + "reference": "PractitionerRole/1736458920887288026.9df8a2aa-8ac2-446f-a20a-a42fbab5e595" } }, { @@ -15473,13 +15555,13 @@ { "url": "OBR.10", "valueReference": { - "reference": "Practitioner/1735607789967604000.31387447-e0c5-48a0-8603-fa759730c7cf" + "reference": "Practitioner/1736458920895729169.f78f07f5-548f-4cd6-819e-51b95fafc774" } }, { "url": "OBR.10", "valueReference": { - "reference": "Practitioner/1735607789968682000.5f0d2d5a-ed71-47fe-933e-cdc43d3ddd60" + "reference": "Practitioner/1736458920898592980.1ff9c78f-c3e3-4b66-8414-56fe63840fa8" } }, { @@ -15810,7 +15892,7 @@ } ], "subject": { - "reference": "Patient/1735607789492432000.b59ae527-20b2-408e-b52e-6e7208838358" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "occurrenceDateTime": "2022-02-02T10:22:00Z", "_occurrenceDateTime": { @@ -15876,7 +15958,7 @@ } } ], - "reference": "PractitionerRole/1735607789935168000.b157336a-2d07-4b3f-8f50-24586df66329" + "reference": "PractitionerRole/1736458920779217394.626dcd4b-f8b5-4e34-9534-96c9547f17b1" }, "locationCode": [ { @@ -15930,21 +16012,21 @@ ], "supportingInfo": [ { - "reference": "Observation/1735607789866616000.4c9c49de-6679-4d13-aab6-08738b57b19b" + "reference": "Observation/1736458920615775591.037031a7-222b-4ad2-9b9b-43ab53a20fe5" }, { - "reference": "Observation/1735607789881662000.e59d202f-4baa-4da2-aee1-f7ef9486d807" + "reference": "Observation/1736458920645881489.c5b8d22b-fdee-47f0-a4f9-163e9ff68f73" } ], "specimen": [ { - "reference": "Specimen/1735607789912796000.73e5831e-9e48-4205-b98a-f49a7a6c5871" + "reference": "Specimen/1736458920702791950.82e09fdf-e892-4c29-b1fe-5fedccdab8db" }, { - "reference": "Specimen/1735607789917871000.25140080-b05e-4747-9149-aeff9ab51569" + "reference": "Specimen/1736458920709529525.ddfe4b32-e8a0-4e31-927c-53a95ed106d8" }, { - "reference": "Specimen/1735607789900989000.8ef9776c-38fd-4f71-9870-7bd717c42e5a" + "reference": "Specimen/1736458920679227059.fe188836-63a0-4288-bf57-6eda8bf32bd5" } ], "note": [ @@ -16051,10 +16133,10 @@ } }, { - "fullUrl": "Practitioner/1735607789935997000.b95e720c-8a21-4ddb-87ff-fcfce988d970", + "fullUrl": "Practitioner/1736458920782022471.09bed657-1ab8-4b38-9185-fdfecfe0269e", "resource": { "resourceType": "Practitioner", - "id": "1735607789935997000.b95e720c-8a21-4ddb-87ff-fcfce988d970", + "id": "1736458920782022471.09bed657-1ab8-4b38-9185-fdfecfe0269e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16110,10 +16192,10 @@ } }, { - "fullUrl": "Location/1735607789936352000.170c2a48-b2b2-4d76-976c-b643c85ceabf", + "fullUrl": "Location/1736458920783616262.34a0109d-3066-42c6-9c83-e134d4eca915", "resource": { "resourceType": "Location", - "id": "1735607789936352000.170c2a48-b2b2-4d76-976c-b643c85ceabf", + "id": "1736458920783616262.34a0109d-3066-42c6-9c83-e134d4eca915", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -16137,10 +16219,10 @@ } }, { - "fullUrl": "Organization/1735607789937439000.d7fc8224-a15e-4256-9641-5dae54851b73", + "fullUrl": "Organization/1736458920787533765.37d79ae7-0e81-4075-8da4-5fd633e515dc", "resource": { "resourceType": "Organization", - "id": "1735607789937439000.d7fc8224-a15e-4256-9641-5dae54851b73", + "id": "1736458920787533765.37d79ae7-0e81-4075-8da4-5fd633e515dc", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -16179,7 +16261,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789936352000.170c2a48-b2b2-4d76-976c-b643c85ceabf" + "reference": "Location/1736458920783616262.34a0109d-3066-42c6-9c83-e134d4eca915" } } ], @@ -16263,23 +16345,23 @@ } }, { - "fullUrl": "PractitionerRole/1735607789935168000.b157336a-2d07-4b3f-8f50-24586df66329", + "fullUrl": "PractitionerRole/1736458920779217394.626dcd4b-f8b5-4e34-9534-96c9547f17b1", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789935168000.b157336a-2d07-4b3f-8f50-24586df66329", + "id": "1736458920779217394.626dcd4b-f8b5-4e34-9534-96c9547f17b1", "practitioner": { - "reference": "Practitioner/1735607789935997000.b95e720c-8a21-4ddb-87ff-fcfce988d970" + "reference": "Practitioner/1736458920782022471.09bed657-1ab8-4b38-9185-fdfecfe0269e" }, "organization": { - "reference": "Organization/1735607789937439000.d7fc8224-a15e-4256-9641-5dae54851b73" + "reference": "Organization/1736458920787533765.37d79ae7-0e81-4075-8da4-5fd633e515dc" } } }, { - "fullUrl": "Practitioner/1735607789940914000.788686ba-c301-4be2-a3e6-63111ba393e9", + "fullUrl": "Practitioner/1736458920799795141.fcf933fe-e346-4d10-af8d-cdbba647f04c", "resource": { "resourceType": "Practitioner", - "id": "1735607789940914000.788686ba-c301-4be2-a3e6-63111ba393e9", + "id": "1736458920799795141.fcf933fe-e346-4d10-af8d-cdbba647f04c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16306,10 +16388,10 @@ } }, { - "fullUrl": "Practitioner/1735607789941326000.a4ff8de9-2314-409f-832c-d01f125e078c", + "fullUrl": "Practitioner/1736458920801461582.15e1dc1c-7313-4cf0-9b4a-e0e16ac15fa6", "resource": { "resourceType": "Practitioner", - "id": "1735607789941326000.a4ff8de9-2314-409f-832c-d01f125e078c", + "id": "1736458920801461582.15e1dc1c-7313-4cf0-9b4a-e0e16ac15fa6", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16336,10 +16418,10 @@ } }, { - "fullUrl": "Location/1735607789941656000.8e436ef1-4559-4183-9f7a-c1c151f94b49", + "fullUrl": "Location/1736458920802678621.e7411f56-4ee9-4db4-849a-f645cf18a49e", "resource": { "resourceType": "Location", - "id": "1735607789941656000.8e436ef1-4559-4183-9f7a-c1c151f94b49", + "id": "1736458920802678621.e7411f56-4ee9-4db4-849a-f645cf18a49e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -16363,10 +16445,10 @@ } }, { - "fullUrl": "Organization/1735607789941932000.facb898e-6772-44ae-9f42-e93f58a2a1ff", + "fullUrl": "Organization/1736458920803592003.ec2d88f8-66d0-4a59-b737-f0376f3e185f", "resource": { "resourceType": "Organization", - "id": "1735607789941932000.facb898e-6772-44ae-9f42-e93f58a2a1ff", + "id": "1736458920803592003.ec2d88f8-66d0-4a59-b737-f0376f3e185f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -16405,7 +16487,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1735607789941656000.8e436ef1-4559-4183-9f7a-c1c151f94b49" + "reference": "Location/1736458920802678621.e7411f56-4ee9-4db4-849a-f645cf18a49e" } } ], @@ -16424,10 +16506,10 @@ } }, { - "fullUrl": "Organization/1735607789942295000.9bbce4ca-edb2-4042-8aac-4dbd010e9913", + "fullUrl": "Organization/1736458920805197936.fd6917c1-e680-4828-87ff-e1f10f51efad", "resource": { "resourceType": "Organization", - "id": "1735607789942295000.9bbce4ca-edb2-4042-8aac-4dbd010e9913", + "id": "1736458920805197936.fd6917c1-e680-4828-87ff-e1f10f51efad", "identifier": [ { "extension": [ @@ -16455,10 +16537,10 @@ } }, { - "fullUrl": "Practitioner/1735607789944657000.8c808aa6-800f-4c99-b5eb-716e16797034", + "fullUrl": "Practitioner/1736458920818181326.5320c4a2-c958-42f7-826b-00a17849b3bf", "resource": { "resourceType": "Practitioner", - "id": "1735607789944657000.8c808aa6-800f-4c99-b5eb-716e16797034", + "id": "1736458920818181326.5320c4a2-c958-42f7-826b-00a17849b3bf", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16485,10 +16567,10 @@ } }, { - "fullUrl": "Practitioner/1735607789945093000.e6359e5a-881f-4478-b061-253752bb5b8e", + "fullUrl": "Practitioner/1736458920820196189.4929f73e-06dc-4c3e-a32a-156d5e325643", "resource": { "resourceType": "Practitioner", - "id": "1735607789945093000.e6359e5a-881f-4478-b061-253752bb5b8e", + "id": "1736458920820196189.4929f73e-06dc-4c3e-a32a-156d5e325643", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16515,10 +16597,10 @@ } }, { - "fullUrl": "Practitioner/1735607789945544000.f4f7ab82-bf2a-4b24-96e2-5d4b923e1a09", + "fullUrl": "Practitioner/1736458920822117756.2dea680a-aa65-4c79-bf55-d9f6129ef3c3", "resource": { "resourceType": "Practitioner", - "id": "1735607789945544000.f4f7ab82-bf2a-4b24-96e2-5d4b923e1a09", + "id": "1736458920822117756.2dea680a-aa65-4c79-bf55-d9f6129ef3c3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16545,10 +16627,10 @@ } }, { - "fullUrl": "Practitioner/1735607789945954000.97aa7aad-3139-43eb-b06c-77fcec2d72a9", + "fullUrl": "Practitioner/1736458920823872499.77abc199-02c2-4779-b702-1ec22ef5115d", "resource": { "resourceType": "Practitioner", - "id": "1735607789945954000.97aa7aad-3139-43eb-b06c-77fcec2d72a9", + "id": "1736458920823872499.77abc199-02c2-4779-b702-1ec22ef5115d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16575,10 +16657,10 @@ } }, { - "fullUrl": "Practitioner/1735607789946382000.8f06e42c-c03d-417e-b118-362ceecbfe11", + "fullUrl": "Practitioner/1736458920826512402.eebd8eb7-1647-4bda-b93e-68c62721862f", "resource": { "resourceType": "Practitioner", - "id": "1735607789946382000.8f06e42c-c03d-417e-b118-362ceecbfe11", + "id": "1736458920826512402.eebd8eb7-1647-4bda-b93e-68c62721862f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16605,10 +16687,10 @@ } }, { - "fullUrl": "Practitioner/1735607789946792000.d7722bde-2b53-4660-9be3-f4ae29b459b2", + "fullUrl": "Practitioner/1736458920829033502.678b99c3-ae47-4571-a7f7-0f462525de7c", "resource": { "resourceType": "Practitioner", - "id": "1735607789946792000.d7722bde-2b53-4660-9be3-f4ae29b459b2", + "id": "1736458920829033502.678b99c3-ae47-4571-a7f7-0f462525de7c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -16635,10 +16717,10 @@ } }, { - "fullUrl": "Location/1735607789947336000.66062a3e-03e5-4a90-887f-edff984bd744", + "fullUrl": "Location/1736458920833086259.cc7e2e8e-6a01-44c6-a901-810c7efc2651", "resource": { "resourceType": "Location", - "id": "1735607789947336000.66062a3e-03e5-4a90-887f-edff984bd744", + "id": "1736458920833086259.cc7e2e8e-6a01-44c6-a901-810c7efc2651", "identifier": [ { "extension": [ @@ -16690,10 +16772,10 @@ } }, { - "fullUrl": "Location/1735607789947532000.5a6f07d5-c0a3-4b6e-9664-8b20d94c211a", + "fullUrl": "Location/1736458920834247502.182e2faf-406d-4ecd-949e-947bbecf0349", "resource": { "resourceType": "Location", - "id": "1735607789947532000.5a6f07d5-c0a3-4b6e-9664-8b20d94c211a", + "id": "1736458920834247502.182e2faf-406d-4ecd-949e-947bbecf0349", "identifier": [ { "extension": [ @@ -16744,15 +16826,15 @@ ] }, "partOf": { - "reference": "Location/1735607789947336000.66062a3e-03e5-4a90-887f-edff984bd744" + "reference": "Location/1736458920833086259.cc7e2e8e-6a01-44c6-a901-810c7efc2651" } } }, { - "fullUrl": "Practitioner/1735607789950376000.24c620b2-301b-47a2-ad99-7ec33b972f10", + "fullUrl": "Practitioner/1736458920844194703.d758016e-e2e2-4371-a056-b52db3d3e28d", "resource": { "resourceType": "Practitioner", - "id": "1735607789950376000.24c620b2-301b-47a2-ad99-7ec33b972f10", + "id": "1736458920844194703.d758016e-e2e2-4371-a056-b52db3d3e28d", "identifier": [ { "value": "1" @@ -16786,10 +16868,10 @@ } }, { - "fullUrl": "Practitioner/1735607789950837000.ae5ab2b7-eb27-45f4-8cfa-5fb6f7c6cd84", + "fullUrl": "Practitioner/1736458920846638676.ea0f338d-39a6-4f7b-9d60-ed3324e78e7f", "resource": { "resourceType": "Practitioner", - "id": "1735607789950837000.ae5ab2b7-eb27-45f4-8cfa-5fb6f7c6cd84", + "id": "1736458920846638676.ea0f338d-39a6-4f7b-9d60-ed3324e78e7f", "identifier": [ { "value": "2" @@ -16823,10 +16905,10 @@ } }, { - "fullUrl": "Practitioner/1735607789953413000.2d4f9d48-5337-4631-b922-f0338e58b626", + "fullUrl": "Practitioner/1736458920855042037.198f88ba-75fc-4f63-9670-e811df1dc280", "resource": { "resourceType": "Practitioner", - "id": "1735607789953413000.2d4f9d48-5337-4631-b922-f0338e58b626", + "id": "1736458920855042037.198f88ba-75fc-4f63-9670-e811df1dc280", "identifier": [ { "value": "1" @@ -16860,10 +16942,10 @@ } }, { - "fullUrl": "Practitioner/1735607789953884000.d23e78fb-5fcd-4db0-9450-e5f2738816dd", + "fullUrl": "Practitioner/1736458920856453359.1ac84f1a-2e6f-4196-ac73-66798dfc767c", "resource": { "resourceType": "Practitioner", - "id": "1735607789953884000.d23e78fb-5fcd-4db0-9450-e5f2738816dd", + "id": "1736458920856453359.1ac84f1a-2e6f-4196-ac73-66798dfc767c", "identifier": [ { "value": "2" @@ -16897,10 +16979,10 @@ } }, { - "fullUrl": "Practitioner/1735607789954747000.f208778e-9805-4628-8a68-556240543fa1", + "fullUrl": "Practitioner/1736458920858735687.6afd327b-f853-40af-8371-3130ec026a48", "resource": { "resourceType": "Practitioner", - "id": "1735607789954747000.f208778e-9805-4628-8a68-556240543fa1", + "id": "1736458920858735687.6afd327b-f853-40af-8371-3130ec026a48", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner", @@ -16967,10 +17049,10 @@ } }, { - "fullUrl": "Location/1735607789955440000.13b61e2d-6a4f-4486-8aa9-90d59853c298", + "fullUrl": "Location/1736458920861314257.a337cbbf-9b66-4369-80b5-4a1c21d4a24f", "resource": { "resourceType": "Location", - "id": "1735607789955440000.13b61e2d-6a4f-4486-8aa9-90d59853c298", + "id": "1736458920861314257.a337cbbf-9b66-4369-80b5-4a1c21d4a24f", "identifier": [ { "extension": [ @@ -17017,10 +17099,10 @@ } }, { - "fullUrl": "Location/1735607789960554000.0f1550ab-ddeb-4988-8b10-f3288a6b2bf7", + "fullUrl": "Location/1736458920875804585.cd961560-b970-48ef-bd41-c14bf67eed40", "resource": { "resourceType": "Location", - "id": "1735607789960554000.0f1550ab-ddeb-4988-8b10-f3288a6b2bf7", + "id": "1736458920875804585.cd961560-b970-48ef-bd41-c14bf67eed40", "identifier": [ { "value": "Building 123" @@ -17039,10 +17121,10 @@ } }, { - "fullUrl": "Location/1735607789960892000.f628d814-9591-4af9-a998-08afe92b3119", + "fullUrl": "Location/1736458920876964375.142246df-0196-4759-8f4d-199067ad87f2", "resource": { "resourceType": "Location", - "id": "1735607789960892000.f628d814-9591-4af9-a998-08afe92b3119", + "id": "1736458920876964375.142246df-0196-4759-8f4d-199067ad87f2", "identifier": [ { "value": "Point of Care" @@ -17068,10 +17150,10 @@ } }, { - "fullUrl": "Location/1735607789961130000.f7eb1ab5-4966-404d-aca9-bd28707c3e4a", + "fullUrl": "Location/1736458920878043241.63484544-b538-4bff-a4e6-a58e9d313080", "resource": { "resourceType": "Location", - "id": "1735607789961130000.f7eb1ab5-4966-404d-aca9-bd28707c3e4a", + "id": "1736458920878043241.63484544-b538-4bff-a4e6-a58e9d313080", "identifier": [ { "value": "Floor A" @@ -17090,10 +17172,10 @@ } }, { - "fullUrl": "Location/1735607789961355000.3c95f21f-c5af-46ea-8065-8fe83b8789e0", + "fullUrl": "Location/1736458920878632378.5d92deea-2d01-4d39-a5e2-ccd675400c0e", "resource": { "resourceType": "Location", - "id": "1735607789961355000.3c95f21f-c5af-46ea-8065-8fe83b8789e0", + "id": "1736458920878632378.5d92deea-2d01-4d39-a5e2-ccd675400c0e", "identifier": [ { "value": "Room 101" @@ -17112,10 +17194,10 @@ } }, { - "fullUrl": "Location/1735607789961591000.e02bf992-710f-4686-874d-c373fdb4a4fb", + "fullUrl": "Location/1736458920879081399.68dda7a2-275c-4ba7-9e5f-f8797231c8b2", "resource": { "resourceType": "Location", - "id": "1735607789961591000.e02bf992-710f-4686-874d-c373fdb4a4fb", + "id": "1736458920879081399.68dda7a2-275c-4ba7-9e5f-f8797231c8b2", "identifier": [ { "value": "Bed A" @@ -17134,10 +17216,10 @@ } }, { - "fullUrl": "PractitionerRole/1735607789961679000.e35ed0d5-81e7-4004-b5a2-9c4bb96283e8", + "fullUrl": "PractitionerRole/1736458920879399261.fee69f95-844a-48cc-b0fc-221f3eb8f7e8", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789961679000.e35ed0d5-81e7-4004-b5a2-9c4bb96283e8", + "id": "1736458920879399261.fee69f95-844a-48cc-b0fc-221f3eb8f7e8", "period": { "start": "2023-04-01T10:25:31-04:00", "_start": { @@ -17159,35 +17241,35 @@ } }, "practitioner": { - "reference": "Practitioner/1735607789954747000.f208778e-9805-4628-8a68-556240543fa1" + "reference": "Practitioner/1736458920858735687.6afd327b-f853-40af-8371-3130ec026a48" }, "location": [ { - "reference": "Location/1735607789955440000.13b61e2d-6a4f-4486-8aa9-90d59853c298" + "reference": "Location/1736458920861314257.a337cbbf-9b66-4369-80b5-4a1c21d4a24f" }, { - "reference": "Location/1735607789960554000.0f1550ab-ddeb-4988-8b10-f3288a6b2bf7" + "reference": "Location/1736458920875804585.cd961560-b970-48ef-bd41-c14bf67eed40" }, { - "reference": "Location/1735607789960892000.f628d814-9591-4af9-a998-08afe92b3119" + "reference": "Location/1736458920876964375.142246df-0196-4759-8f4d-199067ad87f2" }, { - "reference": "Location/1735607789961130000.f7eb1ab5-4966-404d-aca9-bd28707c3e4a" + "reference": "Location/1736458920878043241.63484544-b538-4bff-a4e6-a58e9d313080" }, { - "reference": "Location/1735607789961355000.3c95f21f-c5af-46ea-8065-8fe83b8789e0" + "reference": "Location/1736458920878632378.5d92deea-2d01-4d39-a5e2-ccd675400c0e" }, { - "reference": "Location/1735607789961591000.e02bf992-710f-4686-874d-c373fdb4a4fb" + "reference": "Location/1736458920879081399.68dda7a2-275c-4ba7-9e5f-f8797231c8b2" } ] } }, { - "fullUrl": "Practitioner/1735607789962294000.a0d47789-28ae-44c1-926e-0b60b4c1855b", + "fullUrl": "Practitioner/1736458920880790564.15ff02ab-cd8a-4f8d-86d6-2dec23bd65c3", "resource": { "resourceType": "Practitioner", - "id": "1735607789962294000.a0d47789-28ae-44c1-926e-0b60b4c1855b", + "id": "1736458920880790564.15ff02ab-cd8a-4f8d-86d6-2dec23bd65c3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner", @@ -17254,10 +17336,10 @@ } }, { - "fullUrl": "Location/1735607789962574000.859caab3-9590-40c8-bf11-c979a4a6e835", + "fullUrl": "Location/1736458920881800883.2ce47f16-39f2-4f3b-82b6-eccf3708ee2a", "resource": { "resourceType": "Location", - "id": "1735607789962574000.859caab3-9590-40c8-bf11-c979a4a6e835", + "id": "1736458920881800883.2ce47f16-39f2-4f3b-82b6-eccf3708ee2a", "identifier": [ { "extension": [ @@ -17304,10 +17386,10 @@ } }, { - "fullUrl": "Location/1735607789962859000.59d387e8-b256-481d-b0b4-f2dd295607f8", + "fullUrl": "Location/1736458920882758379.2525668a-6e9c-4b11-9795-64a408842853", "resource": { "resourceType": "Location", - "id": "1735607789962859000.59d387e8-b256-481d-b0b4-f2dd295607f8", + "id": "1736458920882758379.2525668a-6e9c-4b11-9795-64a408842853", "identifier": [ { "value": "Building 123" @@ -17326,10 +17408,10 @@ } }, { - "fullUrl": "Location/1735607789963257000.75f19a7e-8a02-4a2b-9b38-0b0ea11742cd", + "fullUrl": "Location/1736458920884288161.bd689200-66ea-4de5-989e-2acb3f55dbc7", "resource": { "resourceType": "Location", - "id": "1735607789963257000.75f19a7e-8a02-4a2b-9b38-0b0ea11742cd", + "id": "1736458920884288161.bd689200-66ea-4de5-989e-2acb3f55dbc7", "identifier": [ { "value": "Point of Care" @@ -17355,10 +17437,10 @@ } }, { - "fullUrl": "Location/1735607789963528000.dfafd1d2-c838-40b1-a3d6-75083a91abf2", + "fullUrl": "Location/1736458920885307062.a4eae5bc-e467-409e-87d5-c1901d88638a", "resource": { "resourceType": "Location", - "id": "1735607789963528000.dfafd1d2-c838-40b1-a3d6-75083a91abf2", + "id": "1736458920885307062.a4eae5bc-e467-409e-87d5-c1901d88638a", "identifier": [ { "value": "Floor A" @@ -17377,10 +17459,10 @@ } }, { - "fullUrl": "Location/1735607789963742000.33844b3d-f526-4022-8405-f7729d0d7333", + "fullUrl": "Location/1736458920886158546.0e01eed7-386a-4e53-b87a-716097985ea6", "resource": { "resourceType": "Location", - "id": "1735607789963742000.33844b3d-f526-4022-8405-f7729d0d7333", + "id": "1736458920886158546.0e01eed7-386a-4e53-b87a-716097985ea6", "identifier": [ { "value": "Room 101" @@ -17399,10 +17481,10 @@ } }, { - "fullUrl": "Location/1735607789963969000.8e9c29a3-e870-491a-b2c6-d7f779597012", + "fullUrl": "Location/1736458920886993121.e63ea88f-de86-4c67-b60a-2121872fcbe3", "resource": { "resourceType": "Location", - "id": "1735607789963969000.8e9c29a3-e870-491a-b2c6-d7f779597012", + "id": "1736458920886993121.e63ea88f-de86-4c67-b60a-2121872fcbe3", "identifier": [ { "value": "Bed A" @@ -17421,10 +17503,10 @@ } }, { - "fullUrl": "PractitionerRole/1735607789964180000.ac3bf872-b343-49a6-bc7a-a1e4c67a78ff", + "fullUrl": "PractitionerRole/1736458920887288026.9df8a2aa-8ac2-446f-a20a-a42fbab5e595", "resource": { "resourceType": "PractitionerRole", - "id": "1735607789964180000.ac3bf872-b343-49a6-bc7a-a1e4c67a78ff", + "id": "1736458920887288026.9df8a2aa-8ac2-446f-a20a-a42fbab5e595", "period": { "start": "2023-04-01T10:25:31-04:00", "_start": { @@ -17446,35 +17528,35 @@ } }, "practitioner": { - "reference": "Practitioner/1735607789962294000.a0d47789-28ae-44c1-926e-0b60b4c1855b" + "reference": "Practitioner/1736458920880790564.15ff02ab-cd8a-4f8d-86d6-2dec23bd65c3" }, "location": [ { - "reference": "Location/1735607789962574000.859caab3-9590-40c8-bf11-c979a4a6e835" + "reference": "Location/1736458920881800883.2ce47f16-39f2-4f3b-82b6-eccf3708ee2a" }, { - "reference": "Location/1735607789962859000.59d387e8-b256-481d-b0b4-f2dd295607f8" + "reference": "Location/1736458920882758379.2525668a-6e9c-4b11-9795-64a408842853" }, { - "reference": "Location/1735607789963257000.75f19a7e-8a02-4a2b-9b38-0b0ea11742cd" + "reference": "Location/1736458920884288161.bd689200-66ea-4de5-989e-2acb3f55dbc7" }, { - "reference": "Location/1735607789963528000.dfafd1d2-c838-40b1-a3d6-75083a91abf2" + "reference": "Location/1736458920885307062.a4eae5bc-e467-409e-87d5-c1901d88638a" }, { - "reference": "Location/1735607789963742000.33844b3d-f526-4022-8405-f7729d0d7333" + "reference": "Location/1736458920886158546.0e01eed7-386a-4e53-b87a-716097985ea6" }, { - "reference": "Location/1735607789963969000.8e9c29a3-e870-491a-b2c6-d7f779597012" + "reference": "Location/1736458920886993121.e63ea88f-de86-4c67-b60a-2121872fcbe3" } ] } }, { - "fullUrl": "Practitioner/1735607789967604000.31387447-e0c5-48a0-8603-fa759730c7cf", + "fullUrl": "Practitioner/1736458920895729169.f78f07f5-548f-4cd6-819e-51b95fafc774", "resource": { "resourceType": "Practitioner", - "id": "1735607789967604000.31387447-e0c5-48a0-8603-fa759730c7cf", + "id": "1736458920895729169.f78f07f5-548f-4cd6-819e-51b95fafc774", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -17623,10 +17705,10 @@ } }, { - "fullUrl": "Practitioner/1735607789968682000.5f0d2d5a-ed71-47fe-933e-cdc43d3ddd60", + "fullUrl": "Practitioner/1736458920898592980.1ff9c78f-c3e3-4b66-8414-56fe63840fa8", "resource": { "resourceType": "Practitioner", - "id": "1735607789968682000.5f0d2d5a-ed71-47fe-933e-cdc43d3ddd60", + "id": "1736458920898592980.1ff9c78f-c3e3-4b66-8414-56fe63840fa8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", From a8818e987597d73658c32d8d6d1c8903ecc4fc3f Mon Sep 17 00:00:00 2001 From: abiphilipnava Date: Fri, 10 Jan 2025 17:28:22 -0600 Subject: [PATCH 8/9] Updated Washington STLT transform to ignore AOE 01.9.2025 (#17034) * Updated Washington STLT transform to ignore AOE 01.9.2025 * Updated Washington STLT transform to ignore AOE 01.9.2025 fixed sytnax by adding value and hl7spec fields * Fixed WA-receiver-transform.yml * Fixed WA-receiver-transform.yml --------- Co-authored-by: victor-chaparro Co-authored-by: victor-chaparro <117938212+victor-chaparro@users.noreply.github.com> --- .../hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml | 3 ++- .../datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml b/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml index c4fc5487234..139c65d91e1 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml @@ -163,4 +163,5 @@ elements: value: [ 'Bundle.entry.resource.ofType(Organization).telecom.value[x].replaceMatches("[^0-9]", "")' ] hl7Spec: [ '%{ORC}-23-12', '%{ORC}-23-1' ] - + - name: observation-result-with-aoe + resource: "Bundle.entry.resource.ofType(Observation).where(code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('AOE')).exists().not())" \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 index 5c68836448b..4efac6915de 100644 --- a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 @@ -4,9 +4,4 @@ PID|1||10083d1d-dc8b-4ea0-91fa-8744cf0f013b^^^Testing Lab&12D4567890&CLIA^PI^Tes ORC|RE|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||^WPN^PH^^1^530^8675309|20240815054718||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|^WPN^PH^^1^530^8675309|321 Ocean Drive^^Denver^CO^80210^USA OBR|1|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory system specimen by Rapid immunoassay^LN|||20240815053218|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|^WPN^PH^^1^530^8675309|||||20240815054718|||F OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory system specimen by Rapid immunoassay^LN^^^^^^COVID-19||260373001^Detected^SCT|||A^Abnormal^HL70078^^^^2.7|||F|||20240815053218|12D4567890^Testing Lab^CLIA||BinaxNOW COVID-19 Ag 2 Card_Abbott Diagnostics Scarborough, Inc.^BinaxNOW COVID-19 Ag 2 Card^^^^^^^BinaxNOW COVID-19 Ag 2 Card_Abbott Diagnostics Scarborough, Inc.|No Equipment|20240815054718||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|2|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||N^No^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|3|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|4|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||Y^Yes^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|5|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||Y^Yes^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|6|CWE|76691-5^Gender identity^LN^^^^^^Gender identity||UNK^Non-binary gender identity^NULLFL||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA SPM|1|12256b9a-0ca9-47ed-95b4-0d4ca60c4324&Testing Lab&12D4567890&CLIA^12256b9a-0ca9-47ed-95b4-0d4ca60c4324&Testing Lab&12D4567890&CLIA||433801000124107^Nasopharyngeal and oropharyngeal swab^SCT^^^^2.67^^Nasopharyngeal and oropharyngeal swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240815053218|20240815053218 \ No newline at end of file From c942a9a6f6be347d82196939e1cf677512af4a06 Mon Sep 17 00:00:00 2001 From: Eduardo Valdes <1084551+emvaldes@users.noreply.github.com> Date: Fri, 10 Jan 2025 17:27:37 -0700 Subject: [PATCH 9/9] Devsecops/emvaldes/runleaks (#17023) * Importing JosiahSiegel/runleaks default state. * Appending default configuration changes. * dockerfile fixes --------- Co-authored-by: Matt Szubrycht Co-authored-by: matts <22215332+devopsmatt@users.noreply.github.com> --- .github/actions/runleaks/.gitignore | 4 + .github/actions/runleaks/Dockerfile | 8 + .github/actions/runleaks/LICENSE | 21 + .github/actions/runleaks/README.md | 163 ++++ .github/actions/runleaks/action.yml | 55 ++ .../git-secrets/.pre-commit-hooks.yaml | 5 + .../actions/runleaks/git-secrets/CHANGELOG.md | 49 + .../runleaks/git-secrets/CODE_OF_CONDUCT.md | 4 + .../runleaks/git-secrets/CONTRIBUTING.md | 61 ++ .../actions/runleaks/git-secrets/LICENSE.txt | 208 +++++ .github/actions/runleaks/git-secrets/Makefile | 25 + .../actions/runleaks/git-secrets/NOTICE.txt | 6 + .../actions/runleaks/git-secrets/README.rst | 565 ++++++++++++ .../actions/runleaks/git-secrets/git-secrets | 409 +++++++++ .../runleaks/git-secrets/git-secrets.1 | 843 ++++++++++++++++++ .../actions/runleaks/git-secrets/install.ps1 | 48 + .../runleaks/git-secrets/test/bats/LICENSE | 20 + .../runleaks/git-secrets/test/bats/bin/bats | 1 + .../git-secrets/test/bats/libexec/bats | 142 +++ .../test/bats/libexec/bats-exec-suite | 55 ++ .../test/bats/libexec/bats-exec-test | 346 +++++++ .../test/bats/libexec/bats-format-tap-stream | 165 ++++ .../test/bats/libexec/bats-preprocess | 52 ++ .../runleaks/git-secrets/test/commit-msg.bats | 18 + .../git-secrets/test/git-secrets.bats | 361 ++++++++ .../runleaks/git-secrets/test/pre-commit.bats | 62 ++ .../git-secrets/test/prepare-commit-msg.bats | 33 + .../git-secrets/test/test_helper.bash | 94 ++ .github/actions/runleaks/lib/scan.sh | 126 +++ 29 files changed, 3949 insertions(+) create mode 100644 .github/actions/runleaks/.gitignore create mode 100644 .github/actions/runleaks/Dockerfile create mode 100644 .github/actions/runleaks/LICENSE create mode 100644 .github/actions/runleaks/README.md create mode 100644 .github/actions/runleaks/action.yml create mode 100644 .github/actions/runleaks/git-secrets/.pre-commit-hooks.yaml create mode 100644 .github/actions/runleaks/git-secrets/CHANGELOG.md create mode 100644 .github/actions/runleaks/git-secrets/CODE_OF_CONDUCT.md create mode 100644 .github/actions/runleaks/git-secrets/CONTRIBUTING.md create mode 100644 .github/actions/runleaks/git-secrets/LICENSE.txt create mode 100644 .github/actions/runleaks/git-secrets/Makefile create mode 100644 .github/actions/runleaks/git-secrets/NOTICE.txt create mode 100644 .github/actions/runleaks/git-secrets/README.rst create mode 100755 .github/actions/runleaks/git-secrets/git-secrets create mode 100644 .github/actions/runleaks/git-secrets/git-secrets.1 create mode 100644 .github/actions/runleaks/git-secrets/install.ps1 create mode 100644 .github/actions/runleaks/git-secrets/test/bats/LICENSE create mode 120000 .github/actions/runleaks/git-secrets/test/bats/bin/bats create mode 100755 .github/actions/runleaks/git-secrets/test/bats/libexec/bats create mode 100755 .github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-suite create mode 100755 .github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-test create mode 100755 .github/actions/runleaks/git-secrets/test/bats/libexec/bats-format-tap-stream create mode 100755 .github/actions/runleaks/git-secrets/test/bats/libexec/bats-preprocess create mode 100644 .github/actions/runleaks/git-secrets/test/commit-msg.bats create mode 100644 .github/actions/runleaks/git-secrets/test/git-secrets.bats create mode 100644 .github/actions/runleaks/git-secrets/test/pre-commit.bats create mode 100644 .github/actions/runleaks/git-secrets/test/prepare-commit-msg.bats create mode 100644 .github/actions/runleaks/git-secrets/test/test_helper.bash create mode 100644 .github/actions/runleaks/lib/scan.sh diff --git a/.github/actions/runleaks/.gitignore b/.github/actions/runleaks/.gitignore new file mode 100644 index 00000000000..47b70ae9777 --- /dev/null +++ b/.github/actions/runleaks/.gitignore @@ -0,0 +1,4 @@ +.git +_git +.github +_github diff --git a/.github/actions/runleaks/Dockerfile b/.github/actions/runleaks/Dockerfile new file mode 100644 index 00000000000..cb3b4e0ccb1 --- /dev/null +++ b/.github/actions/runleaks/Dockerfile @@ -0,0 +1,8 @@ +FROM cgr.dev/chainguard/wolfi-base:latest +RUN apk add git gh make parallel jq + +COPY git-secrets /git-secrets +RUN make -C /git-secrets install +COPY lib/* / + +ENTRYPOINT ["bash", "/scan.sh"] diff --git a/.github/actions/runleaks/LICENSE b/.github/actions/runleaks/LICENSE new file mode 100644 index 00000000000..251ac3d0313 --- /dev/null +++ b/.github/actions/runleaks/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Josiah Siegel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/.github/actions/runleaks/README.md b/.github/actions/runleaks/README.md new file mode 100644 index 00000000000..d86f92d2062 --- /dev/null +++ b/.github/actions/runleaks/README.md @@ -0,0 +1,163 @@ +# runleaks + +[![Scan Action Logs](https://github.com/CDCgov/prime-reportstream/.github/workflows/runleaks--main.yml/badge.svg?branch=main)](https://github.com/CDCgov/prime-reportstream/.github/workflows/runleaks--main.yml) + +Leverages [git-secrets](https://github.com/awslabs/git-secrets) to identify potential leaks in GitHub action run logs. + + * Common Azure and Google Cloud patterns are available, thanks to fork [msalemcode/git-secrets](https://github.com/msalemcode/git-secrets). + + +## Inputs +```yml + github-token: + description: 'Token used to login to GitHub' + required: true + repo: + description: 'Repo to scan run logs for exceptions' + required: false + default: ${{ github.repository }} + run-limit: + description: 'Limit on how many runs to scan' + required: false + default: '50' + min-days-old: + description: 'Min age of runs in days' + required: false + default: '0' + max-days-old: + description: 'Max age of runs in days' + required: false + default: '3' + patterns-path: + description: 'Patterns file path' + required: false + default: ".runleaks/patterns.txt" + exclusions-path: + description: 'Excluded patterns file path' + required: false + default: ".runleaks/exclusions.txt" + fail-on-leak: + description: 'Fail action if leak is found' + required: false + default: true +``` + +## Outputs +```yml + exceptions: + description: 'Json output of run logs with exceptions' + count: + description: 'Count of exceptions' +``` + +## Usage + * Note: [GitHub rate limits](#rate-limits) +```yml + - name: Checkout + uses: actions/checkout@v3 + - name: Scan run logs + uses: josiahsiegel/runleaks@4dd30d107c03b6ade87978e10c94a77015e488f9 + id: scan + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + run-limit: 500 + fail-on-leak: false + - name: Get scan exceptions + if: steps.scan.outputs.count > 0 + run: echo "${{ steps.scan.outputs.exceptions }}" +``` +or +```yml + - name: Checkout + uses: actions/checkout@v3 + - name: Scan run logs + uses: josiahsiegel/runleaks@4dd30d107c03b6ade87978e10c94a77015e488f9 + id: scan + with: + github-token: ${{ secrets.MY_TOKEN }} + patterns-path: ".github/patterns.txt" + exclusions-path: ".github/exclusions.txt" + fail-on-leak: false + - name: Get scan exceptions + if: steps.scan.outputs.count > 0 + run: echo "${{ steps.scan.outputs.exceptions }}" +``` +or +```yml + - name: Checkout + uses: actions/checkout@v3 + with: + repository: 'me/my-repo' + - name: Scan run logs + uses: josiahsiegel/runleaks@4dd30d107c03b6ade87978e10c94a77015e488f9 + id: scan + with: + github-token: ${{ secrets.MY_TOKEN }} + repo: 'me/my-repo' + run-limit: 200 + min-days-old: 0 + max-days-old: 4 + fail-on-leak: true +``` + +## Local testing + * Registers default patterns +```sh +git clone https://github.com/CDCgov/prime-reportstream/.github/actions/runleaks.git +cd runleaks/ +docker build -t runleaks . +docker run scan "" "" +``` + +## Pattern file + * Default location: `.runleaks/patterns.txt` + +``` +#################################################################### + +# Register a secret provider +#--register-azure +#--register-gcp +--register-aws + +#################################################################### + +# Add a prohibited pattern +--add [A-Z0-9]{20} +--add Account[k|K]ey +--add Shared[a|A]ccessSignature + +#################################################################### + +# Add a string that is scanned for literally (+ is escaped): +--add --literal foo+bar + +#################################################################### +``` + +## Exclusion file + * Default location: `.runleaks/exclusions.txt` +``` +#################################################################### + +# Add regular expressions patterns to filter false positives. + +# Allow GUID +("|')[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}("|') + +#################################################################### +``` + +## Performance + + * Scan 50 runs = 1 min + + * Scan 500 runs = 8 mins + +* Scan 3000 runs = 50 mins + +## Rate limits + +Built-in secret `GITHUB_TOKEN` is [limited to 1,000 requests per hour per repository](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-github-actions). + +To avoid repo-wide rate limiting, personal access tokens can be added to secrets, which are [limited to 5,000 requests per hour and per authenticated user](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-personal-accounts). diff --git a/.github/actions/runleaks/action.yml b/.github/actions/runleaks/action.yml new file mode 100644 index 00000000000..d431caf1cf6 --- /dev/null +++ b/.github/actions/runleaks/action.yml @@ -0,0 +1,55 @@ +# action.yml +name: 'runleaks' +description: 'Identify potential leaks in GitHub action logs' +branding: + icon: 'search' + color: 'red' +inputs: + github-token: + description: 'Token used to login to GitHub' + required: true + repo: + description: 'Repo to scan run logs for exceptions' + required: false + default: ${{ github.repository }} + run-limit: + description: 'Limit on how many runs to scan' + required: false + default: '100' + min-days-old: + description: 'Min age of runs in days' + required: false + default: '0' + max-days-old: + description: 'Max age of runs in days' + required: false + default: '3' + patterns-path: + description: 'Patterns file path' + required: false + default: ".github/runleaks/patterns.txt" + exclusions-path: + description: 'Excluded patterns file path' + required: false + default: ".github/runleaks/exclusions.txt" + fail-on-leak: + description: 'Fail action if leak is found' + required: false + default: true +outputs: + exceptions: + description: 'Json output of run logs with exceptions' + count: + description: 'Count of exceptions' +runs: + using: 'docker' + image: 'Dockerfile' + args: + - ${{ inputs.github-token }} + - ${{ inputs.repo }} + - ${{ inputs.run-limit }} + - ${{ inputs.min-days-old }} + - ${{ inputs.max-days-old }} + - ${{ inputs.patterns-path }} + - ${{ inputs.exclusions-path }} + - ${{ inputs.fail-on-leak }} diff --git a/.github/actions/runleaks/git-secrets/.pre-commit-hooks.yaml b/.github/actions/runleaks/git-secrets/.pre-commit-hooks.yaml new file mode 100644 index 00000000000..d313836246f --- /dev/null +++ b/.github/actions/runleaks/git-secrets/.pre-commit-hooks.yaml @@ -0,0 +1,5 @@ +- id: git-secrets + name: Git Secrets + description: git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories. + entry: 'git-secrets --pre_commit_hook' + language: script diff --git a/.github/actions/runleaks/git-secrets/CHANGELOG.md b/.github/actions/runleaks/git-secrets/CHANGELOG.md new file mode 100644 index 00000000000..cfcae4e818c --- /dev/null +++ b/.github/actions/runleaks/git-secrets/CHANGELOG.md @@ -0,0 +1,49 @@ +# CHANGELOG + +## 1.3.0 - 2019-02-10 + +* Empty provider output is now excluded + (https://github.com/awslabs/git-secrets/issues/34) +* Spaces are now supported in git exec path, making more Windows + paths execute properly. +* Patterns with newlines and carriage returns are now loaded properly. +* Patterns that contain only "\n" are now ignored. +* Various Bash 4 fixes (https://github.com/awslabs/git-secrets/issues/66). +* Make IAM key scanning much more targeted. + +## 1.2.1 - 2016-06-27 + +* Fixed an issue where secret provider commands were causing "command not + found" errors due to a previously set IFS variable. + https://github.com/awslabs/git-secrets/pull/30 + +## 1.2.0 - 2016-05-23 + +* Fixed an issue where spaces files with spaces in their names were not being + properly scanned in the pre-commit hook. +* Now ignoring empty lines and comments (e.g., `#`) in the .gitallowed file. +* Fixed an issue where numbers were being compared to strings causing failures + on some platforms. + +## 1.1.0 - 2016-04-06 + +* Bug fix: the pre-commit hook previously only scanned the working directory + rather than staged files. This release updates the pre-commit hook to instead + scan staged files so that git-secrets will detect violations if the working + directory drifts from the staging directory. +* Added the `--scan-history` subcommand so that you can scan your entire + git history for violations. +* Added the ability to filter false positives by using a .gitallowed file. +* Added support for `--cached`, `--no-index`, and `--untracked` to the `--scan` + subcommand. + +## 1.0.1 - 2016-01-11 + +* Now works correctly with filenames in a repository that contain spaces when + executing `git secrets --scan` with no provided filename (via `git grep`). +* Now works with git repositories with hundreds of thousands of files when + using `git secrets --scan` with no provided filename (via `git grep`). + +## 1.0.0 - 2015-12-10 + +* Initial release of ``git-secrets``. diff --git a/.github/actions/runleaks/git-secrets/CODE_OF_CONDUCT.md b/.github/actions/runleaks/git-secrets/CODE_OF_CONDUCT.md new file mode 100644 index 00000000000..3b64466870c --- /dev/null +++ b/.github/actions/runleaks/git-secrets/CODE_OF_CONDUCT.md @@ -0,0 +1,4 @@ +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. diff --git a/.github/actions/runleaks/git-secrets/CONTRIBUTING.md b/.github/actions/runleaks/git-secrets/CONTRIBUTING.md new file mode 100644 index 00000000000..de6d3d38075 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/CONTRIBUTING.md @@ -0,0 +1,61 @@ +# Contributing Guidelines + +Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional +documentation, we greatly value feedback and contributions from our community. + +Please read through this document before submitting any issues or pull requests to ensure we have all the necessary +information to effectively respond to your bug report or contribution. + + +## Reporting Bugs/Feature Requests + +We welcome you to use the GitHub issue tracker to report bugs or suggest features. + +When filing an issue, please check [existing open](https://github.com/awslabs/git-secrets/issues), or [recently closed](https://github.com/awslabs/git-secrets/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already +reported the issue. Please try to include as much information as you can. Details like these are incredibly useful: + +* A reproducible test case or series of steps +* The version of our code being used +* Any modifications you've made relevant to the bug +* Anything unusual about your environment or deployment + + +## Contributing via Pull Requests +Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: + +1. You are working against the latest source on the *master* branch. +2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already. +3. You open an issue to discuss any significant work - we would hate for your time to be wasted. + +To send us a pull request, please: + +1. Fork the repository. +2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change. +3. Ensure local tests pass. +4. Commit to your fork using clear commit messages. +5. Send us a pull request, answering any default questions in the pull request interface. +6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation. + +GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and +[creating a pull request](https://help.github.com/articles/creating-a-pull-request/). + + +## Finding contributions to work on +Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/awslabs/git-secrets/labels/help%20wanted) issues is a great place to start. + + +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. + + +## Security issue notifications +If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue. + + +## Licensing + +See the [LICENSE](https://github.com/awslabs/git-secrets/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. + +We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes. diff --git a/.github/actions/runleaks/git-secrets/LICENSE.txt b/.github/actions/runleaks/git-secrets/LICENSE.txt new file mode 100644 index 00000000000..de96b9473c9 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/LICENSE.txt @@ -0,0 +1,208 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +Note: Other license terms may apply to certain, identified software files +contained within or distributed with the accompanying software if such terms +are included in the directory containing the accompanying software. Such other +license terms will then apply in lieu of the terms of the software license +above. diff --git a/.github/actions/runleaks/git-secrets/Makefile b/.github/actions/runleaks/git-secrets/Makefile new file mode 100644 index 00000000000..a67eee2dd23 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/Makefile @@ -0,0 +1,25 @@ +PREFIX ?= /usr/local +MANPREFIX ?= "${PREFIX}/share/man/man1" + +help: + @echo "Please use \`make ' where is one of" + @echo " test to perform unit tests." + @echo " man to build the man file from README.rst" + @echo " install to install. Use PREFIX and MANPREFIX to customize." + +# We use bats for testing: https://github.com/sstephenson/bats +test: + LANG=C test/bats/bin/bats test/ + +# The man page is completely derived from README.rst. Edits to +# README.rst require a rebuild of the man page. +man: + rst2man.py README.rst > git-secrets.1 + +install: + @mkdir -p ${DESTDIR}${MANPREFIX} + @mkdir -p ${DESTDIR}${PREFIX}/bin + @cp -f git-secrets ${DESTDIR}${PREFIX}/bin + @cp -f git-secrets.1 ${DESTDIR}${MANPREFIX} + +.PHONY: help test man diff --git a/.github/actions/runleaks/git-secrets/NOTICE.txt b/.github/actions/runleaks/git-secrets/NOTICE.txt new file mode 100644 index 00000000000..a5e5da9ba01 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/NOTICE.txt @@ -0,0 +1,6 @@ +git-secrets +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +bats +This product bundles bats, which is available under a "MIT" license. +For details, see test/bats. diff --git a/.github/actions/runleaks/git-secrets/README.rst b/.github/actions/runleaks/git-secrets/README.rst new file mode 100644 index 00000000000..1be1691ab8a --- /dev/null +++ b/.github/actions/runleaks/git-secrets/README.rst @@ -0,0 +1,565 @@ +=========== +git-secrets +=========== + +------------------------------------------------------------------------------------------- +Prevent committing AWS , AZURE and GCP sensitive creds to a git repository. +------------------------------------------------------------------------------------------- + +.. contents:: :depth: 2 + +Synopsis +-------- + +:: + + git secrets --scan [-r|--recursive] [--cached] [--no-index] [--untracked] [...] + git secrets --scan-history + git secrets --install [-f|--force] [] + git secrets --list [--global] + git secrets --add [-a|--allowed] [-l|--literal] [--global] + git secrets --add-provider [--global] [arguments...] + git secrets --register-aws [--global] + git secrets --register-gcp [--global] + git secrets --register-azure [--global] + git secrets --aws-provider [] + + +Description +----------- + +``git-secrets`` scans commits, commit messages, and ``--no-ff`` merges to +prevent adding secrets into your git repositories. If a commit, +commit message, or any commit in a ``--no-ff`` merge history matches one of +your configured prohibited regular expression patterns, then the commit is +rejected. + + +Installing git-secrets +---------------------- + +``git-secrets`` must be placed somewhere in your PATH so that it is picked up +by ``git`` when running ``git secrets``. + +\*nix (Linux/macOS) +~~~~~~~~~~~~~~~~~~~ + +You can use the ``install`` target of the provided Makefile to install ``git secrets`` and the man page. +You can customize the install path using the PREFIX and MANPREFIX variables. + +:: + + make install + +Windows +~~~~~~~ + +Run the provided ``install.ps1`` powershell script. This will copy the needed files +to an installation directory (``%USERPROFILE%/.git-secrets`` by default) and add +the directory to the current user ``PATH``. + +:: + + PS > ./install.ps1 + +Homebrew (for macOS users) +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + + brew install git-secrets + +.. warning:: + + You're not done yet! You MUST install the git hooks for every repo that + you wish to use with ``git secrets --install``. + +Here's a quick example of how to ensure a git repository is scanned for secrets +on each commit:: + + cd /path/to/my/repo + git secrets --install + git secrets --register-aws + git secrets --register-azure + git secrets --register-gcp + + +Advanced configuration +---------------------- + +Add a configuration template if you want to add hooks to all repositories you +initialize or clone in the future. + +:: + + git secrets --register-(aws/azure/gcp) --global + + +Add hooks to all your local repositories. + +:: + + git secrets --install ~/.git-templates/git-secrets + git config --global init.templateDir ~/.git-templates/git-secrets + + +Add custom providers to scan for security credentials. + +:: + + git secrets --add-provider -- cat /path/to/secret/file/patterns + + +Before making public a repository +--------------------------------- + +With git-secrets is also possible to scan a repository including all revisions: + +:: + + git secrets --scan-history + + +Options +------- + +Operation Modes +~~~~~~~~~~~~~~~ + +Each of these options must appear first on the command line. + +``--install`` + Installs git hooks for a repository. Once the hooks are installed for a git + repository, commits and non-fast-forward merges for that repository will be prevented + from committing secrets. + +``--scan`` + Scans one or more files for secrets. When a file contains a secret, the + matched text from the file being scanned will be written to stdout and the + script will exit with a non-zero status. Each matched line will be written with + the name of the file that matched, a colon, the line number that matched, + a colon, and then the line of text that matched. If no files are provided, + all files returned by ``git ls-files`` are scanned. + +``--scan-history`` + Scans repository including all revisions. When a file contains a secret, the + matched text from the file being scanned will be written to stdout and the + script will exit with a non-zero status. Each matched line will be written with + the name of the file that matched, a colon, the line number that matched, + a colon, and then the line of text that matched. + +``--list`` + Lists the ``git-secrets`` configuration for the current repo or in the global + git config. + +``--add`` + Adds a prohibited or allowed pattern. + +``--add-provider`` + Registers a secret provider. Secret providers are executables that when + invoked output prohibited patterns that ``git-secrets`` should treat as + prohibited. + +``--register-aws`` + Adds common AWS patterns to the git config and ensures that keys present + in ``~/.aws/credentials`` are not found in any commit. The following + checks are added: + + - AWS Access Key IDs via ``(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}`` + - AWS Secret Access Key assignments via ":" or "=" surrounded by optional + quotes + - AWS account ID assignments via ":" or "=" surrounded by optional quotes + - Allowed patterns for example AWS keys (``AKIAIOSFODNN7EXAMPLE`` and + ``wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY``) + - Known credentials from ``~/.aws/credentials`` + + .. note:: + + While the patterns registered by this command should catch most + instances of AWS credentials, these patterns are **not** guaranteed to + catch them **all**. ``git-secrets`` should be used as an extra means of + insurance -- you still need to do your due diligence to ensure that you + do not commit credentials to a repository. + +``--register-gcp`` + Secret provider which scans files for Google Cloud Platform's (GCP's) crentials JSON files. + +``--register-azure`` + Secret provider which scans files for AZURE credentials + + +``--aws-provider`` + Secret provider that outputs credentials found in an INI file. You can + optionally provide the path to an INI file. + + +Options for ``--install`` +~~~~~~~~~~~~~~~~~~~~~~~~~ + +``-f, --force`` + Overwrites existing hooks if present. + +```` + When provided, installs git hooks to the given directory. The current + directory is assumed if ```` is not provided. + + If the provided ```` is not in a git repository, the + directory will be created and hooks will be placed in + ``/hooks``. This can be useful for creating git template + directories using with ``git init --template ``. + + You can run ``git init`` on a repository that has already been initialized. + From the `git init documentation `_: + + From the git documentation: Running ``git init`` in an existing repository + is safe. It will not overwrite things that are already there. The + primary reason for rerunning ``git init`` is to pick up newly added + templates (or to move the repository to another place if + ``--separate-git-dir`` is given). + + The following git hooks are installed: + + 1. ``pre-commit``: Used to check if any of the files changed in the commit + use prohibited patterns. + 2. ``commit-msg``: Used to determine if a commit message contains a + prohibited patterns. + 3. ``prepare-commit-msg``: Used to determine if a merge commit will + introduce a history that contains a prohibited pattern at any point. + Please note that this hook is only invoked for non fast-forward merges. + + .. note:: + + Git only allows a single script to be executed per hook. If the + repository contains Debian-style subdirectories like ``pre-commit.d`` + and ``commit-msg.d``, then the git hooks will be installed into these + directories, which assumes that you've configured the corresponding + hooks to execute all of the scripts found in these directories. If + these git subdirectories are not present, then the git hooks will be + installed to the git repo's ``.git/hooks`` directory. + + +Examples +^^^^^^^^ + +Install git hooks to the current directory:: + + cd /path/to/my/repository + git secrets --install + +Install git hooks to a repository other than the current directory:: + + git secrets --install /path/to/my/repository + +Create a git template that has ``git-secrets`` installed, and then copy that +template into a git repository:: + + git secrets --install ~/.git-templates/git-secrets + git init --template ~/.git-templates/git-secrets + +Overwrite existing hooks if present:: + + git secrets --install -f + + +Options for ``--scan`` +~~~~~~~~~~~~~~~~~~~~~~ + +``-r, --recursive`` + Scans the given files recursively. If a directory is encountered, the + directory will be scanned. If ``-r`` is not provided, directories will be + ignored. + + ``-r`` cannot be used alongside ``--cached``, ``--no-index``, or + ``--untracked``. + +``--cached`` + Searches blobs registered in the index file. + +``--no-index`` + Searches files in the current directory that is not managed by git. + +``--untracked`` + In addition to searching in the tracked files in the working tree, + ``--scan`` also in untracked files. + +``...`` + The path to one or more files on disk to scan for secrets. + + If no files are provided, all files returned by ``git ls-files`` are + scanned. + + +Examples +^^^^^^^^ + +Scan all files in the repo:: + + git secrets --scan + +Scans a single file for secrets:: + + git secrets --scan /path/to/file + +Scans a directory recursively for secrets:: + + git secrets --scan -r /path/to/directory + +Scans multiple files for secrets:: + + git secrets --scan /path/to/file /path/to/other/file + +You can scan by globbing:: + + git secrets --scan /path/to/directory/* + +Scan from stdin:: + + echo 'hello!' | git secrets --scan - + + +Options for ``--list`` +~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Lists only git-secrets configuration in the global git config. + + +Options for ``--add`` +~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds patterns to the global git config + +``-l, --literal`` + Escapes special regular expression characters in the provided pattern so + that the pattern is searched for literally. + +``-a, --allowed`` + Mark the pattern as allowed instead of prohibited. Allowed patterns are + used to filter our false positives. + +```` + The regex pattern to search. + + +Examples +^^^^^^^^ + +Adds a prohibited pattern to the current repo:: + + git secrets --add '[A-Z0-9]{20}' + +Adds a prohibited pattern to the global git config:: + + git secrets --add --global '[A-Z0-9]{20}' + +Adds a string that is scanned for literally (``+`` is escaped):: + + git secrets --add --literal 'foo+bar' + +Add an allowed pattern:: + + git secrets --add -a 'allowed pattern' + + +Options for ``--register-aws`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds AWS specific configuration variables to the global git config. + +Options for ``--register-gcp`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds GCP specific configuration variables to the global git config. + +Options for ``--register-azure`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds AZURE specific configuration variables to the global git config. + +Options for ``--aws-provider`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``[]`` + If provided, specifies the custom path to an INI file to scan. If not + provided, ``~/.aws/credentials`` is assumed. + + +Options for ``--add-provider`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds the provider to the global git config. + +```` + Provider command to invoke. When invoked the command is expected to write + prohibited patterns separated by new lines to stdout. Any extra arguments + provided are passed on to the command. + + +Examples +^^^^^^^^ + +Registers a secret provider with arguments:: + + git secrets --add-provider -- git secrets --aws-provider + +Cats secrets out of a file:: + + git secrets --add-provider -- cat /path/to/secret/file/patterns + + +Defining prohibited patterns +---------------------------- + +``egrep``-compatible regular expressions are used to determine if a commit or +commit message contains any prohibited patterns. These regular expressions are +defined using the ``git config`` command. It is important to note that +different systems use different versions of egrep. For example, when running on +macOS, you will use a different version of ``egrep`` than when running on something +like Ubuntu (BSD vs GNU). + +You can add prohibited regular expression patterns to your git config using +``git secrets --add ``. + + +Ignoring false positives +------------------------ + +Sometimes a regular expression might match false positives. For example, git +commit SHAs look a lot like AWS access keys. You can specify many different +regular expression patterns as false positives using the following command: + +:: + + git secrets --add --allowed 'my regex pattern' + +You can also add regular expressions patterns to filter false positives to a +``.gitallowed`` file located in the repository's root directory. Lines starting +with ``#`` are skipped (comment line) and empty lines are also skipped. + +First, git-secrets will extract all lines from a file that contain a prohibited +match. Included in the matched results will be the full path to the name of +the file that was matched, followed by ':', followed by the line number that was +matched, followed by the entire line from the file that was matched by a secret +pattern. Then, if you've defined allowed regular expressions, git-secrets will +check to see if all of the matched lines match at least one of your registered +allowed regular expressions. If all of the lines that were flagged as secret +are canceled out by an allowed match, then the subject text does not contain +any secrets. If any of the matched lines are not matched by an allowed regular +expression, then git-secrets will fail the commit/merge/message. + +.. important:: + + Just as it is a bad practice to add prohibited patterns that are too + greedy, it is also a bad practice to add allowed patterns that are too + forgiving. Be sure to test out your patterns using ad-hoc calls to + ``git secrets --scan $filename`` to ensure they are working as intended. + + +Secret providers +---------------- + +Sometimes you want to check for an exact pattern match against a set of known +secrets. For example, you might want to ensure that no credentials present in +``~/.aws/credentials`` ever show up in a commit. In these cases, it's better to +leave these secrets in one location rather than spread them out across git +repositories in git configs. You can use "secret providers" to fetch these +types of credentials. A secret provider is an executable that when invoked +outputs prohibited patterns separated by new lines. + +You can add secret providers using the ``--add-provider`` command:: + + git secrets --add-provider -- git secrets --aws-provider + +Notice the use of ``--``. This ensures that any arguments associated with the +provider are passed to the provider each time it is invoked when scanning +for secrets. + + +Example walkthrough +------------------- + +Let's take a look at an example. Given the following subject text (stored in +``/tmp/example``):: + + This is a test! + password=ex@mplepassword + password=****** + More test... + +And the following registered patterns: + +:: + + git secrets --add 'password\s*=\s*.+' + git secrets --add --allowed --literal 'ex@mplepassword' + +Running ``git secrets --scan /tmp/example``, the result will +result in the following error output:: + + /tmp/example:3:password=****** + + [ERROR] Matched prohibited pattern + + Possible mitigations: + - Mark false positives as allowed using: git config --add secrets.allowed ... + - List your configured patterns: git config --get-all secrets.patterns + - List your configured allowed patterns: git config --get-all secrets.allowed + - Use --no-verify if this is a one-time false positive + +Breaking this down, the prohibited pattern value of ``password\s*=\s*.+`` will +match the following lines:: + + /tmp/example:2:password=ex@mplepassword + /tmp/example:3:password=****** + +...But the first match will be filtered out due to the fact that it matches the +allowed regular expression of ``ex@mplepassword``. Because there is still a +remaining line that did not match, it is considered a secret. + +Because that matching lines are placed on lines that start with the filename +and line number (e.g., ``/tmp/example:3:...``), you can create allowed +patterns that take filenames and line numbers into account in the regular +expression. For example, you could whitelist an entire file using something +like:: + + git secrets --add --allowed '/tmp/example:.*' + git secrets --scan /tmp/example && echo $? + # Outputs: 0 + +Alternatively, you could allow a specific line number of a file if that +line is unlikely to change using something like the following: + +:: + + git secrets --add --allowed '/tmp/example:3:.*' + git secrets --scan /tmp/example && echo $? + # Outputs: 0 + +Keep this in mind when creating allowed patterns to ensure that your allowed +patterns are not inadvertently matched due to the fact that the filename is +included in the subject text that allowed patterns are matched against. + + +Skipping validation +------------------- + +Use the ``--no-verify`` option in the event of a false positive match in a +commit, merge, or commit message. This will skip the execution of the +git hook and allow you to make the commit or merge. + + +About +------ + +- Author: `Michael Dowling `_ +- Issue tracker: This project's source code and issue tracker can be found at + `https://github.com/awslabs/git-secrets `_ +- Special thanks to Adrian Vatchinsky and Ari Juels of Cornell University for + providing suggestions and feedback. + +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/.github/actions/runleaks/git-secrets/git-secrets b/.github/actions/runleaks/git-secrets/git-secrets new file mode 100755 index 00000000000..236d03b5cd1 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/git-secrets @@ -0,0 +1,409 @@ +#!/usr/bin/env bash +# Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). +# You may not use this file except in compliance with the License. +# A copy of the License is located at +# +# http://aws.amazon.com/apache2.0 +# +# or in the "license" file accompanying this file. This file is distributed +# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +# express or implied. See the License for the specific language governing +# permissions and limitations under the License. + +NONGIT_OK=1 OPTIONS_SPEC="\ +git secrets --scan [-r|--recursive] [--cached] [--no-index] [--untracked] [...] +git secrets --scan-history +git secrets --install [-f|--force] [] +git secrets --list [--global] +git secrets --add [-a|--allowed] [-l|--literal] [--global] +git secrets --add-provider [--global] [arguments...] +git secrets --register-aws [--global] +git secrets --register-azure [--global] +git secrets --register-gcp [--global] +git secrets --aws-provider [] +-- +scan Scans for prohibited patterns +scan-history Scans repo for prohibited patterns +install Installs git hooks for Git repository or Git template directory +list Lists secret patterns +add Adds a prohibited or allowed pattern, ensuring to de-dupe with existing patterns +add-provider Adds a secret provider that when called outputs secret patterns on new lines +aws-provider Secret provider that outputs credentials found in an ini file +register-aws Adds common AWS patterns to the git config and scans for ~/.aws/credentials +register-azure Adds common Azure patterns to the git config +register-gcp Adds common GCP patterns to the git config +r,recursive --scan scans directories recursively +cached --scan scans searches blobs registered in the index file +no-index --scan searches files in the current directory that is not managed by Git +untracked In addition to searching in the tracked files in the working tree, --scan also in untracked files +f,force --install overwrites hooks if the hook already exists +l,literal --add and --add-allowed patterns are escaped so that they are literal +a,allowed --add adds an allowed pattern instead of a prohibited pattern +global Uses the --global git config +commit_msg_hook* commit-msg hook (internal only) +pre_commit_hook* pre-commit hook (internal only) +prepare_commit_msg_hook* prepare-commit-msg hook (internal only)" + +# Include the git setup script. This parses and normalized CLI arguments. +. "$(git --exec-path)"/git-sh-setup + +load_patterns() { + git config --get-all secrets.patterns + # Execute each provider and use their output to build up patterns + git config --get-all secrets.providers | while read -r cmd; do + # Only split words on '\n\t ' and strip "\r" from the output to account + # for carriage returns being added on Windows systems. Note that this + # trimming is done before the test to ensure that the string is not empty. + local result="$(export IFS=$'\n\t '; $cmd | tr -d $'\r')" + # Do not add empty lines from providers as that would match everything. + if [ -n "${result}" ]; then + echo "${result}" + fi + done +} + +load_allowed() { + git config --get-all secrets.allowed + local gitallowed="$(git rev-parse --show-toplevel)/.gitallowed" + if [ -e "$gitallowed" ]; then + cat $gitallowed | awk 'NF && $1!~/^#/' + fi +} + +# load patterns and combine them with | +load_combined_patterns() { + local patterns=$(load_patterns) + local combined_patterns='' + for pattern in $patterns; do + combined_patterns=${combined_patterns}${pattern}"|" + done + combined_patterns=${combined_patterns%?} + echo $combined_patterns +} + +# Scans files or a repo using patterns. +scan() { + local files=("${@}") options="" + [ "${SCAN_CACHED}" == 1 ] && options+="--cached" + [ "${SCAN_UNTRACKED}" == 1 ] && options+=" --untracked" + [ "${SCAN_NO_INDEX}" == 1 ] && options+=" --no-index" + # Scan using git-grep if there are no files or if git options are applied. + if [ ${#files[@]} -eq 0 ] || [ ! -z "${options}" ]; then + output=$(git_grep $options "${files[@]}") + else + output=$(regular_grep "${files[@]}") + fi + process_output $? "${output}" +} + +# Scans through history using patterns +scan_history() { + # git log does not support multiple patterns, so we need to combine them + local combined_patterns=$(load_combined_patterns) + [ -z "${combined_patterns}" ] && return 0 + # Looks for differences matching the patterns, reduces the number of revisions to scan + local to_scan=$(git log --all -G"${combined_patterns}" --pretty=%H) + # Scan through revisions with findings to normalize output + output=$(GREP_OPTIONS= LC_ALL=C git grep -nwHEI "${combined_patterns}" $to_scan) + process_output $? "${output}" +} + +# Performs a git-grep, taking into account patterns and options. +# Note: this function returns 1 on success, 0 on error. +git_grep() { + local options="$1"; shift + local files=("${@}") combined_patterns=$(load_combined_patterns) + + [ -z "${combined_patterns}" ] && return 1 + GREP_OPTIONS= LC_ALL=C git grep -nwHEI ${options} "${combined_patterns}" -- "${files[@]}" +} + +# Performs a regular grep, taking into account patterns and recursion. +# Note: this function returns 1 on success, 0 on error. +regular_grep() { + local files=("${@}") patterns=$(load_patterns) action='skip' + [ -z "${patterns}" ] && return 1 + [ ${RECURSIVE} -eq 1 ] && action="recurse" + GREP_OPTIONS= LC_ALL=C grep -d "${action}" -nwHEI "${patterns}" "${files[@]}" +} + +# Process the given status ($1) and output variables ($2). +# Takes into account allowed patterns, and if a bad match is found, +# prints an error message and exits 1. +process_output() { + local status="$1" output="$2" + local allowed=$(load_allowed) + case "$status" in + 0) + [ -z "${allowed}" ] && echo "${output}" >&2 && return 1 + # Determine with a negative grep if the found matches are allowed + echo "${output}" | GREP_OPTIONS= LC_ALL=C grep -Ev "${allowed}" >&2 \ + && return 1 || return 0 + ;; + 1) return 0 ;; + *) exit $status + esac +} + +# Calls the given scanning function at $1, shifts, and passes to it $@. +# Exit 0 if success, otherwise exit 1 with error message. +scan_with_fn_or_die() { + local fn="$1"; shift + $fn "$@" && exit 0 + echo >&2 + echo "[ERROR] Matched one or more prohibited patterns" >&2 + echo >&2 + echo "Possible mitigations:" >&2 + echo "- Mark false positives as allowed using: git config --add secrets.allowed ..." >&2 + echo "- Mark false positives as allowed by adding regular expressions to .gitallowed at repository's root directory" >&2 + echo "- List your configured patterns: git config --get-all secrets.patterns" >&2 + echo "- List your configured allowed patterns: git config --get-all secrets.allowed" >&2 + echo "- List your configured allowed patterns in .gitallowed at repository's root directory" >&2 + echo "- Use --no-verify if this is a one-time false positive" >&2 + exit 1 +} + +# Scans a commit message, passed in the path to a file. +commit_msg_hook() { + scan_with_fn_or_die "scan" "$1" +} + +# Scans all files that are about to be committed. +pre_commit_hook() { + SCAN_CACHED=1 + local files=() file found_match=0 rev="4b825dc642cb6eb9a060e54bf8d69288fbee4904" + # Diff against HEAD if this is not the first commit in the repo. + git rev-parse --verify HEAD >/dev/null 2>&1 && rev="HEAD" + # Filter out deleted files using --diff-filter + while IFS= read -r file; do + [ -n "$file" ] && files+=("$file") + done <<< "$(git diff-index --diff-filter 'ACMU' --name-only --cached $rev --)" + scan_with_fn_or_die "scan" "${files[@]}" +} + +# Determines if merging in a commit will introduce tainted history. +prepare_commit_msg_hook() { + case "$2,$3" in + merge,) + local git_head=$(env | grep GITHEAD) # e.g. GITHEAD_=release/1.43 + local sha="${git_head##*=}" # Get just the SHA + local branch=$(git symbolic-ref HEAD) # e.g. refs/heads/master + local dest="${branch#refs/heads/}" # cut out "refs/heads" + git log "${dest}".."${sha}" -p | scan_with_fn_or_die "scan" - + ;; + esac +} + +install_hook() { + local path="$1" hook="$2" cmd="$3" dest + # Determines the approriate path for a hook to be installed + if [ -d "${path}/hooks/${hook}.d" ]; then + dest="${path}/hooks/${hook}.d/git-secrets" + else + dest="${path}/hooks/${hook}" + fi + [ -f "${dest}" ] && [ "${FORCE}" -ne 1 ] \ + && die "${dest} already exists. Use -f to force" + echo "#!/usr/bin/env bash" > "${dest}" + echo "git secrets --${cmd} -- \"\$@\"" >> "${dest}" + chmod +x "${dest}" + say "$(tput setaf 2)✓$(tput sgr 0) Installed ${hook} hook to ${dest}" +} + +install_all_hooks() { + install_hook "$1" "commit-msg" "commit_msg_hook" + install_hook "$1" "pre-commit" "pre_commit_hook" + install_hook "$1" "prepare-commit-msg" "prepare_commit_msg_hook" +} + +# Adds a git config pattern, ensuring to de-dupe +add_config() { + local key="$1"; shift + local value="$@" + if [ ${LITERAL} -eq 1 ]; then + value=$(sed 's/[\.|$(){}?+*^]/\\&/g' <<< "${value}") + fi + if [ ${GLOBAL} -eq 1 ]; then + git config --global --get-all $key | grep -Fq "${value}" && return 1 + git config --global --add "${key}" "${value}" + else + git config --get-all $key | grep -Fq "${value}" && return 1 + git config --add "${key}" "${value}" + fi +} + +register_aws() { + # Reusable regex patterns + local aws="(AWS|aws|Aws)?_?" quote="(\"|')" connect="\s*(:|=>|=)\s*" + local opt_quote="${quote}?" + add_config 'secrets.providers' 'git secrets --aws-provider' + add_config 'secrets.patterns' '(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}' + add_config 'secrets.patterns' "${opt_quote}${aws}(SECRET|secret|Secret)?_?(ACCESS|access|Access)?_?(KEY|key|Key)${opt_quote}${connect}${opt_quote}[A-Za-z0-9/\+=]{40}${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}${aws}(ACCOUNT|account|Account)_?(ID|id|Id)?${opt_quote}${connect}${opt_quote}[0-9]{4}\-?[0-9]{4}\-?[0-9]{4}${opt_quote}" + add_config 'secrets.allowed' 'AKIAIOSFODNN7EXAMPLE' + add_config 'secrets.allowed' "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" + + if [[ $? == 0 ]]; then + echo 'OK' + fi + + exit $? +} + +register_azure() { + # Reusable regex patterns + local azure="(AZURE|azure|Azure)?_?" quote="(\"|')" connect="\s*(:|=>|=)\s*" + local opt_quote="${quote}" + add_config 'secrets.patterns' "${opt_quote}[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][o|O][n|N][m|M][i|I][c|C][r|R][o|O][s|S][o|O][f|F][t|T][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][b|B][l|L][o|O][b|B][.][c|C][o|O][r|R][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][q|Q][u|U][e|E][u|U][e|E][.][c|C][o|O][r|R][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][t|T][a|A][b|B][l|L][e|E][.][c|C][o|O][r|R][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][d|D][a|A][t|T][a|A][b|B][a|A][s|S][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][s|S][e|E][r|R][v|V][i|I][c|C][e|E][b|B][u|U][s|S][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][t|T][i|I][m|M][e|E][s|S][e|E][r|R][i|I][e|E][s|S][.][a|A][z|Z][u|U][r|R][e|E][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][a|T][c|C][c|C][e|E][s|S][s|S][c|C][o|O][n|N][t|T][r|R][o|O][l|L][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][a|A][z|Z][u|U][r|R][e|E][h|H][d|D][i|I][n|N][s|S][i|I][g|G][h|H][t|T][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][c|C][l|L][o|O][u|U][d|D][a|A][p|P][p|P][.][a|A][z|Z][u|U][r|R][e|E][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][c|C][l|L][o|O][u|U][d|D][a|A][p|P][p|P][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][d|D][o|O][c|C][u|U][m|M][e|E][n|N][t|T][s|S][.][a|A][z|Z][u|U][r|R][e|E][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "^-----BEGIN (RSA|EC|DSA|GPP) PRIVATE KEY-----$" + add_config 'secrets.patterns' "(\"|')[A-Z0-9a-z[:punct:]]{32}(\"|')$" + add_config 'secrets.patterns' "(\"|')[A-Z0-9a-z[:punct:]]{88}(\"|')$" + + + + + if [[ $? == 0 ]]; then + echo 'OK' + fi + + exit $? +} + + + + +register_gcp() { + # Reusable regex patterns + add_config 'secrets.patterns' '\bprivate_key.*\b' + + + if [[ $? == 0 ]]; then + echo 'OK' + fi + + exit $? +} + +aws_provider() { + local fi="$1" + [ -z "$fi" ] && fi=~/.aws/credentials + # Find keys and ensure that special characters are escaped. + if [ -f $fi ]; then + awk -F "=" '/aws_access_key_id|aws_secret_access_key/ {print $2}' $fi \ + | tr -d ' "' \ + | sed 's/[]\.|$(){}?+*^]/\\&/g' + fi +} + +# Ensures that the command is what was expected for an option. +assert_option_for_command() { + local expected_command="$1" + local option_name="$2" + if [ "${COMMAND}" != "${expected_command}" ]; then + die "${option_name} can only be supplied with the ${expected_command} subcommand" + fi +} + +declare COMMAND="$1" FORCE=0 RECURSIVE=0 LITERAL=0 GLOBAL=0 ALLOWED=0 +declare SCAN_CACHED=0 SCAN_NO_INDEX=0 SCAN_UNTRACKED=0 + +# Shift off the command name +shift 1 +while [ "$#" -ne 0 ]; do + case "$1" in + -f) + assert_option_for_command "--install" "-f|--force" + FORCE=1 + ;; + -r) + assert_option_for_command "--scan" "-r|--recursive" + RECURSIVE=1 + ;; + -a) + assert_option_for_command "--add" "-a|--allowed" + ALLOWED=1 + ;; + -l) + assert_option_for_command "--add" "-l|--literal" + LITERAL=1 + ;; + --cached) + assert_option_for_command "--scan" "--cached" + SCAN_CACHED=1 + ;; + --no-index) + assert_option_for_command "--scan" "--no-index" + SCAN_NO_INDEX=1 + ;; + --untracked) + assert_option_for_command "--scan" "--untracked" + SCAN_UNTRACKED=1 + ;; + --global) GLOBAL=1 ;; + --) shift; break ;; + esac + shift +done + +# Ensure that recursive is not applied with mutually exclusive options. +if [ ${RECURSIVE} -eq 1 ]; then + if [ ${SCAN_CACHED} -eq 1 ] \ + || [ ${SCAN_NO_INDEX} -eq 1 ] \ + || [ ${SCAN_UNTRACKED} -eq 1 ]; + then + die "-r|--recursive cannot be supplied with --cached, --no-index, or --untracked" + fi +fi + +case "${COMMAND}" in + -h|--help|--) "$0" -h; exit 0 ;; + --add-provider) add_config "secrets.providers" "$@" ;; + --register-aws) register_aws ;; + --register-azure) register_azure ;; + --register-gcp) register_gcp ;; + --aws-provider) aws_provider "$1" ;; + --commit_msg_hook|--pre_commit_hook|--prepare_commit_msg_hook) + ${COMMAND:2} "$@" + ;; + --add) + if [ ${ALLOWED} -eq 1 ]; then + add_config "secrets.allowed" "$1" + else + add_config "secrets.patterns" "$1" + fi + ;; + --scan) scan_with_fn_or_die "scan" "$@" ;; + --scan-history) scan_with_fn_or_die "scan_history" "$@" ;; + --list) + if [ ${GLOBAL} -eq 1 ]; then + git config --global --get-regex secrets.* + else + git config --get-regex secrets.* + fi + ;; + --install) + DIRECTORY="$1" + if [ -z "${DIRECTORY}" ]; then + DIRECTORY=$(git rev-parse --git-dir) || die "Not in a Git repository" + elif [ -d "${DIRECTORY}"/.git ]; then + DIRECTORY="${DIRECTORY}/.git" + fi + mkdir -p "${DIRECTORY}/hooks" || die "Could not create dir: ${DIRECTORY}" + install_all_hooks "${DIRECTORY}" + ;; + *) echo "Unknown option: ${COMMAND}" && "$0" -h ;; +esac diff --git a/.github/actions/runleaks/git-secrets/git-secrets.1 b/.github/actions/runleaks/git-secrets/git-secrets.1 new file mode 100644 index 00000000000..1c6d25c3413 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/git-secrets.1 @@ -0,0 +1,843 @@ +.\" Man page generated from reStructuredText. +. +.TH GIT-SECRETS "" "" "" +.SH NAME +git-secrets \- Prevents you from committing passwords and other sensitive information to a git repository. +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SS Contents +.INDENT 0.0 +.IP \(bu 2 +\fI\%Synopsis\fP +.IP \(bu 2 +\fI\%Description\fP +.IP \(bu 2 +\fI\%Installing git\-secrets\fP +.INDENT 2.0 +.IP \(bu 2 +\fI\%*nix (Linux/macOS)\fP +.IP \(bu 2 +\fI\%Windows\fP +.IP \(bu 2 +\fI\%Homebrew (for macOS users)\fP +.UNINDENT +.IP \(bu 2 +\fI\%Advanced configuration\fP +.IP \(bu 2 +\fI\%Before making public a repository\fP +.IP \(bu 2 +\fI\%Options\fP +.INDENT 2.0 +.IP \(bu 2 +\fI\%Operation Modes\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-install\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-scan\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-list\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-add\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-register\-aws\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-aws\-provider\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-add\-provider\fP\fP +.UNINDENT +.IP \(bu 2 +\fI\%Defining prohibited patterns\fP +.IP \(bu 2 +\fI\%Ignoring false positives\fP +.IP \(bu 2 +\fI\%Secret providers\fP +.IP \(bu 2 +\fI\%Example walkthrough\fP +.IP \(bu 2 +\fI\%Skipping validation\fP +.IP \(bu 2 +\fI\%About\fP +.UNINDENT +.SH SYNOPSIS +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan [\-r|\-\-recursive] [\-\-cached] [\-\-no\-index] [\-\-untracked] [...] +git secrets \-\-scan\-history +git secrets \-\-install [\-f|\-\-force] [] +git secrets \-\-list [\-\-global] +git secrets \-\-add [\-a|\-\-allowed] [\-l|\-\-literal] [\-\-global] +git secrets \-\-add\-provider [\-\-global] [arguments...] +git secrets \-\-register\-aws [\-\-global] +git secrets \-\-aws\-provider [] +.ft P +.fi +.UNINDENT +.UNINDENT +.SH DESCRIPTION +.sp +\fBgit\-secrets\fP scans commits, commit messages, and \fB\-\-no\-ff\fP merges to +prevent adding secrets into your git repositories. If a commit, +commit message, or any commit in a \fB\-\-no\-ff\fP merge history matches one of +your configured prohibited regular expression patterns, then the commit is +rejected. +.SH INSTALLING GIT-SECRETS +.sp +\fBgit\-secrets\fP must be placed somewhere in your PATH so that it is picked up +by \fBgit\fP when running \fBgit secrets\fP\&. +.SS *nix (Linux/macOS) +.IP "System Message: WARNING/2 (README.rst:, line 43)" +Title underline too short. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +\e*nix (Linux/macOS) +~~~~~~~~~~~~~~~~~ +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can use the \fBinstall\fP target of the provided Makefile to install \fBgit secrets\fP and the man page. +You can customize the install path using the PREFIX and MANPREFIX variables. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +make install +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Windows +.sp +Run the provided \fBinstall.ps1\fP powershell script. This will copy the needed files +to an installation directory (\fB%USERPROFILE%/.git\-secrets\fP by default) and add +the directory to the current user \fBPATH\fP\&. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +PS > ./install.ps1 +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Homebrew (for macOS users) +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +brew install git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +\fBWARNING:\fP +.INDENT 0.0 +.INDENT 3.5 +You\(aqre not done yet! You MUST install the git hooks for every repo that +you wish to use with \fBgit secrets \-\-install\fP\&. +.UNINDENT +.UNINDENT +.sp +Here\(aqs a quick example of how to ensure a git repository is scanned for secrets +on each commit: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cd /path/to/my/repo +git secrets \-\-install +git secrets \-\-register\-aws +.ft P +.fi +.UNINDENT +.UNINDENT +.SH ADVANCED CONFIGURATION +.sp +Add a configuration template if you want to add hooks to all repositories you +initialize or clone in the future. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-register\-aws \-\-global +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add hooks to all your local repositories. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install ~/.git\-templates/git\-secrets +git config \-\-global init.templateDir ~/.git\-templates/git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add custom providers to scan for security credentials. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- cat /path/to/secret/file/patterns +.ft P +.fi +.UNINDENT +.UNINDENT +.SH BEFORE MAKING PUBLIC A REPOSITORY +.sp +With git\-secrets is also possible to scan a repository including all revisions: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan\-history +.ft P +.fi +.UNINDENT +.UNINDENT +.SH OPTIONS +.SS Operation Modes +.sp +Each of these options must appear first on the command line. +.INDENT 0.0 +.TP +.B \fB\-\-install\fP +Installs git hooks for a repository. Once the hooks are installed for a git +repository, commits and non\-fast\-forward merges for that repository will be prevented +from committing secrets. +.TP +.B \fB\-\-scan\fP +Scans one or more files for secrets. When a file contains a secret, the +matched text from the file being scanned will be written to stdout and the +script will exit with a non\-zero status. Each matched line will be written with +the name of the file that matched, a colon, the line number that matched, +a colon, and then the line of text that matched. If no files are provided, +all files returned by \fBgit ls\-files\fP are scanned. +.TP +.B \fB\-\-scan\-history\fP +Scans repository including all revisions. When a file contains a secret, the +matched text from the file being scanned will be written to stdout and the +script will exit with a non\-zero status. Each matched line will be written with +the name of the file that matched, a colon, the line number that matched, +a colon, and then the line of text that matched. +.TP +.B \fB\-\-list\fP +Lists the \fBgit\-secrets\fP configuration for the current repo or in the global +git config. +.TP +.B \fB\-\-add\fP +Adds a prohibited or allowed pattern. +.TP +.B \fB\-\-add\-provider\fP +Registers a secret provider. Secret providers are executables that when +invoked output prohibited patterns that \fBgit\-secrets\fP should treat as +prohibited. +.TP +.B \fB\-\-register\-aws\fP +Adds common AWS patterns to the git config and ensures that keys present +in \fB~/.aws/credentials\fP are not found in any commit. The following +checks are added: +.INDENT 7.0 +.IP \(bu 2 +AWS Access Key IDs via \fB(A3T[A\-Z0\-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A\-Z0\-9]{16}\fP +.IP \(bu 2 +AWS Secret Access Key assignments via ":" or "=" surrounded by optional +quotes +.IP \(bu 2 +AWS account ID assignments via ":" or "=" surrounded by optional quotes +.IP \(bu 2 +Allowed patterns for example AWS keys (\fBAKIAIOSFODNN7EXAMPLE\fP and +\fBwJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\fP) +.IP \(bu 2 +Known credentials from \fB~/.aws/credentials\fP +.UNINDENT +.sp +\fBNOTE:\fP +.INDENT 7.0 +.INDENT 3.5 +While the patterns registered by this command should catch most +instances of AWS credentials, these patterns are \fBnot\fP guaranteed to +catch them \fBall\fP\&. \fBgit\-secrets\fP should be used as an extra means of +insurance \-\- you still need to do your due diligence to ensure that you +do not commit credentials to a repository. +.UNINDENT +.UNINDENT +.TP +.B \fB\-\-aws\-provider\fP +Secret provider that outputs credentials found in an INI file. You can +optionally provide the path to an INI file. +.UNINDENT +.SS Options for \fB\-\-install\fP +.INDENT 0.0 +.TP +.B \fB\-f, \-\-force\fP +Overwrites existing hooks if present. +.TP +.B \fB\fP +When provided, installs git hooks to the given directory. The current +directory is assumed if \fB\fP is not provided. +.sp +If the provided \fB\fP is not in a git repository, the +directory will be created and hooks will be placed in +\fB/hooks\fP\&. This can be useful for creating git template +directories using with \fBgit init \-\-template \fP\&. +.sp +You can run \fBgit init\fP on a repository that has already been initialized. +From the \fI\%git init documentation\fP: +.INDENT 7.0 +.INDENT 3.5 +From the git documentation: Running \fBgit init\fP in an existing repository +is safe. It will not overwrite things that are already there. The +primary reason for rerunning \fBgit init\fP is to pick up newly added +templates (or to move the repository to another place if +\fB\-\-separate\-git\-dir\fP is given). +.UNINDENT +.UNINDENT +.sp +The following git hooks are installed: +.INDENT 7.0 +.IP 1. 3 +\fBpre\-commit\fP: Used to check if any of the files changed in the commit +use prohibited patterns. +.IP 2. 3 +\fBcommit\-msg\fP: Used to determine if a commit message contains a +prohibited patterns. +.IP 3. 3 +\fBprepare\-commit\-msg\fP: Used to determine if a merge commit will +introduce a history that contains a prohibited pattern at any point. +Please note that this hook is only invoked for non fast\-forward merges. +.UNINDENT +.sp +\fBNOTE:\fP +.INDENT 7.0 +.INDENT 3.5 +Git only allows a single script to be executed per hook. If the +repository contains Debian\-style subdirectories like \fBpre\-commit.d\fP +and \fBcommit\-msg.d\fP, then the git hooks will be installed into these +directories, which assumes that you\(aqve configured the corresponding +hooks to execute all of the scripts found in these directories. If +these git subdirectories are not present, then the git hooks will be +installed to the git repo\(aqs \fB\&.git/hooks\fP directory. +.UNINDENT +.UNINDENT +.UNINDENT +.SS Examples +.sp +Install git hooks to the current directory: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cd /path/to/my/repository +git secrets \-\-install +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Install git hooks to a repository other than the current directory: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install /path/to/my/repository +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Create a git template that has \fBgit\-secrets\fP installed, and then copy that +template into a git repository: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install ~/.git\-templates/git\-secrets +git init \-\-template ~/.git\-templates/git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Overwrite existing hooks if present: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install \-f +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-scan\fP +.INDENT 0.0 +.TP +.B \fB\-r, \-\-recursive\fP +Scans the given files recursively. If a directory is encountered, the +directory will be scanned. If \fB\-r\fP is not provided, directories will be +ignored. +.sp +\fB\-r\fP cannot be used alongside \fB\-\-cached\fP, \fB\-\-no\-index\fP, or +\fB\-\-untracked\fP\&. +.TP +.B \fB\-\-cached\fP +Searches blobs registered in the index file. +.TP +.B \fB\-\-no\-index\fP +Searches files in the current directory that is not managed by git. +.TP +.B \fB\-\-untracked\fP +In addition to searching in the tracked files in the working tree, +\fB\-\-scan\fP also in untracked files. +.TP +.B \fB...\fP +The path to one or more files on disk to scan for secrets. +.sp +If no files are provided, all files returned by \fBgit ls\-files\fP are +scanned. +.UNINDENT +.SS Examples +.sp +Scan all files in the repo: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans a single file for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/file +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans a directory recursively for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan \-r /path/to/directory +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans multiple files for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/file /path/to/other/file +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can scan by globbing: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/directory/* +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scan from stdin: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +echo \(aqhello!\(aq | git secrets \-\-scan \- +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-list\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Lists only git\-secrets configuration in the global git config. +.UNINDENT +.SS Options for \fB\-\-add\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds patterns to the global git config +.TP +.B \fB\-l, \-\-literal\fP +Escapes special regular expression characters in the provided pattern so +that the pattern is searched for literally. +.TP +.B \fB\-a, \-\-allowed\fP +Mark the pattern as allowed instead of prohibited. Allowed patterns are +used to filter our false positives. +.TP +.B \fB\fP +The regex pattern to search. +.UNINDENT +.SS Examples +.sp +Adds a prohibited pattern to the current repo: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \(aq[A\-Z0\-9]{20}\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Adds a prohibited pattern to the global git config: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-global \(aq[A\-Z0\-9]{20}\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Adds a string that is scanned for literally (\fB+\fP is escaped): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-literal \(aqfoo+bar\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add an allowed pattern: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-a \(aqallowed pattern\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-register\-aws\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds AWS specific configuration variables to the global git config. +.UNINDENT +.SS Options for \fB\-\-aws\-provider\fP +.INDENT 0.0 +.TP +.B \fB[]\fP +If provided, specifies the custom path to an INI file to scan. If not +provided, \fB~/.aws/credentials\fP is assumed. +.UNINDENT +.SS Options for \fB\-\-add\-provider\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds the provider to the global git config. +.TP +.B \fB\fP +Provider command to invoke. When invoked the command is expected to write +prohibited patterns separated by new lines to stdout. Any extra arguments +provided are passed on to the command. +.UNINDENT +.SS Examples +.sp +Registers a secret provider with arguments: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- git secrets \-\-aws\-provider +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Cats secrets out of a file: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- cat /path/to/secret/file/patterns +.ft P +.fi +.UNINDENT +.UNINDENT +.SH DEFINING PROHIBITED PATTERNS +.sp +\fBegrep\fP\-compatible regular expressions are used to determine if a commit or +commit message contains any prohibited patterns. These regular expressions are +defined using the \fBgit config\fP command. It is important to note that +different systems use different versions of egrep. For example, when running on +macOS, you will use a different version of \fBegrep\fP than when running on something +like Ubuntu (BSD vs GNU). +.sp +You can add prohibited regular expression patterns to your git config using +\fBgit secrets \-\-add \fP\&. +.SH IGNORING FALSE POSITIVES +.sp +Sometimes a regular expression might match false positives. For example, git +commit SHAs look a lot like AWS access keys. You can specify many different +regular expression patterns as false positives using the following command: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aqmy regex pattern\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can also add regular expressions patterns to filter false positives to a +\fB\&.gitallowed\fP file located in the repository\(aqs root directory. Lines starting +with \fB#\fP are skipped (comment line) and empty lines are also skipped. +.sp +First, git\-secrets will extract all lines from a file that contain a prohibited +match. Included in the matched results will be the full path to the name of +the file that was matched, followed by \(aq:\(aq, followed by the line number that was +matched, followed by the entire line from the file that was matched by a secret +pattern. Then, if you\(aqve defined allowed regular expressions, git\-secrets will +check to see if all of the matched lines match at least one of your registered +allowed regular expressions. If all of the lines that were flagged as secret +are canceled out by an allowed match, then the subject text does not contain +any secrets. If any of the matched lines are not matched by an allowed regular +expression, then git\-secrets will fail the commit/merge/message. +.sp +\fBIMPORTANT:\fP +.INDENT 0.0 +.INDENT 3.5 +Just as it is a bad practice to add prohibited patterns that are too +greedy, it is also a bad practice to add allowed patterns that are too +forgiving. Be sure to test out your patterns using ad\-hoc calls to +\fBgit secrets \-\-scan $filename\fP to ensure they are working as intended. +.UNINDENT +.UNINDENT +.SH SECRET PROVIDERS +.sp +Sometimes you want to check for an exact pattern match against a set of known +secrets. For example, you might want to ensure that no credentials present in +\fB~/.aws/credentials\fP ever show up in a commit. In these cases, it\(aqs better to +leave these secrets in one location rather than spread them out across git +repositories in git configs. You can use "secret providers" to fetch these +types of credentials. A secret provider is an executable that when invoked +outputs prohibited patterns separated by new lines. +.sp +You can add secret providers using the \fB\-\-add\-provider\fP command: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- git secrets \-\-aws\-provider +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Notice the use of \fB\-\-\fP\&. This ensures that any arguments associated with the +provider are passed to the provider each time it is invoked when scanning +for secrets. +.SH EXAMPLE WALKTHROUGH +.sp +Let\(aqs take a look at an example. Given the following subject text (stored in +\fB/tmp/example\fP): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +This is a test! +password=ex@mplepassword +password=****** +More test... +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +And the following registered patterns: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \(aqpassword\es*=\es*.+\(aq +git secrets \-\-add \-\-allowed \-\-literal \(aqex@mplepassword\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Running \fBgit secrets \-\-scan /tmp/example\fP, the result will +result in the following error output: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +/tmp/example:3:password=****** + +[ERROR] Matched prohibited pattern + +Possible mitigations: +\- Mark false positives as allowed using: git config \-\-add secrets.allowed ... +\- List your configured patterns: git config \-\-get\-all secrets.patterns +\- List your configured allowed patterns: git config \-\-get\-all secrets.allowed +\- Use \-\-no\-verify if this is a one\-time false positive +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Breaking this down, the prohibited pattern value of \fBpassword\es*=\es*.+\fP will +match the following lines: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +/tmp/example:2:password=ex@mplepassword +/tmp/example:3:password=****** +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +\&...But the first match will be filtered out due to the fact that it matches the +allowed regular expression of \fBex@mplepassword\fP\&. Because there is still a +remaining line that did not match, it is considered a secret. +.sp +Because that matching lines are placed on lines that start with the filename +and line number (e.g., \fB/tmp/example:3:...\fP), you can create allowed +patterns that take filenames and line numbers into account in the regular +expression. For example, you could whitelist an entire file using something +like: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aq/tmp/example:.*\(aq +git secrets \-\-scan /tmp/example && echo $? +# Outputs: 0 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Alternatively, you could allow a specific line number of a file if that +line is unlikely to change using something like the following: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aq/tmp/example:3:.*\(aq +git secrets \-\-scan /tmp/example && echo $? +# Outputs: 0 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Keep this in mind when creating allowed patterns to ensure that your allowed +patterns are not inadvertently matched due to the fact that the filename is +included in the subject text that allowed patterns are matched against. +.SH SKIPPING VALIDATION +.sp +Use the \fB\-\-no\-verify\fP option in the event of a false positive match in a +commit, merge, or commit message. This will skip the execution of the +git hook and allow you to make the commit or merge. +.SH ABOUT +.INDENT 0.0 +.IP \(bu 2 +Author: \fI\%Michael Dowling\fP +.IP \(bu 2 +Issue tracker: This project\(aqs source code and issue tracker can be found at +\fI\%https://github.com/awslabs/git\-secrets\fP +.IP \(bu 2 +Special thanks to Adrian Vatchinsky and Ari Juels of Cornell University for +providing suggestions and feedback. +.UNINDENT +.sp +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +.\" Generated by docutils manpage writer. +. diff --git a/.github/actions/runleaks/git-secrets/install.ps1 b/.github/actions/runleaks/git-secrets/install.ps1 new file mode 100644 index 00000000000..fbffbfa9906 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/install.ps1 @@ -0,0 +1,48 @@ +Param([string]$InstallationDirectory = $($Env:USERPROFILE + "\.git-secrets")) + +Write-Host "Checking to see if installation directory already exists..." +if (-not (Test-Path $InstallationDirectory)) +{ + Write-Host "Creating installation directory." + New-Item -ItemType Directory -Path $InstallationDirectory | Out-Null +} +else +{ + Write-Host "Installation directory already exists." +} + +Write-Host "Copying files." +Copy-Item ./git-secrets -Destination $InstallationDirectory -Force +Copy-Item ./git-secrets.1 -Destination $InstallationDirectory -Force + +Write-Host "Checking if directory already exists in Path..." +$currentPath = [Environment]::GetEnvironmentVariable("PATH", "User") +if ($currentPath -notlike "*$InstallationDirectory*") +{ + Write-Host "Adding to path." + $newPath = $currentPath + if(-not ($newPath.EndsWith(";"))) + { + $newPath = $newPath + ";" + } + $newPath = $newPath + $InstallationDirectory + [Environment]::SetEnvironmentVariable("PATH", $newPath, "User") +} +else +{ + Write-Host "Already in Path." +} + +# Adding to Session +Write-Host "Adding to user session." +$currentSessionPath = $Env:Path +if ($currentSessionPath -notlike "*$InstallationDirectory*") +{ + if(-not ($currentSessionPath.EndsWith(";"))) + { + $currentSessionPath = $currentSessionPath + ";" + } + $Env:Path = $currentSessionPath + $InstallationDirectory +} + +Write-Host "Done." \ No newline at end of file diff --git a/.github/actions/runleaks/git-secrets/test/bats/LICENSE b/.github/actions/runleaks/git-secrets/test/bats/LICENSE new file mode 100644 index 00000000000..bac4eb29ccf --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2014 Sam Stephenson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/.github/actions/runleaks/git-secrets/test/bats/bin/bats b/.github/actions/runleaks/git-secrets/test/bats/bin/bats new file mode 120000 index 00000000000..a50a884e581 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/bin/bats @@ -0,0 +1 @@ +../libexec/bats \ No newline at end of file diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats new file mode 100755 index 00000000000..71f392f757e --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats @@ -0,0 +1,142 @@ +#!/usr/bin/env bash +set -e + +version() { + echo "Bats 0.4.0" +} + +usage() { + version + echo "Usage: bats [-c] [-p | -t] [ ...]" +} + +help() { + usage + echo + echo " is the path to a Bats test file, or the path to a directory" + echo " containing Bats test files." + echo + echo " -c, --count Count the number of test cases without running any tests" + echo " -h, --help Display this help message" + echo " -p, --pretty Show results in pretty format (default for terminals)" + echo " -t, --tap Show results in TAP format" + echo " -v, --version Display the version number" + echo + echo " For more information, see https://github.com/sstephenson/bats" + echo +} + +resolve_link() { + $(type -p greadlink readlink | head -1) "$1" +} + +abs_dirname() { + local cwd="$(pwd)" + local path="$1" + + while [ -n "$path" ]; do + cd "${path%/*}" + local name="${path##*/}" + path="$(resolve_link "$name" || true)" + done + + pwd + cd "$cwd" +} + +expand_path() { + { cd "$(dirname "$1")" 2>/dev/null + local dirname="$PWD" + cd "$OLDPWD" + echo "$dirname/$(basename "$1")" + } || echo "$1" +} + +BATS_LIBEXEC="$(abs_dirname "$0")" +export BATS_PREFIX="$(abs_dirname "$BATS_LIBEXEC")" +export BATS_CWD="$(abs_dirname .)" +export PATH="$BATS_LIBEXEC:$PATH" + +options=() +arguments=() +for arg in "$@"; do + if [ "${arg:0:1}" = "-" ]; then + if [ "${arg:1:1}" = "-" ]; then + options[${#options[*]}]="${arg:2}" + else + index=1 + while option="${arg:$index:1}"; do + [ -n "$option" ] || break + options[${#options[*]}]="$option" + let index+=1 + done + fi + else + arguments[${#arguments[*]}]="$arg" + fi +done + +unset count_flag pretty +[ -t 0 ] && [ -t 1 ] && pretty="1" +[ -n "$CI" ] && pretty="" + +for option in "${options[@]}"; do + case "$option" in + "h" | "help" ) + help + exit 0 + ;; + "v" | "version" ) + version + exit 0 + ;; + "c" | "count" ) + count_flag="-c" + ;; + "t" | "tap" ) + pretty="" + ;; + "p" | "pretty" ) + pretty="1" + ;; + * ) + usage >&2 + exit 1 + ;; + esac +done + +if [ "${#arguments[@]}" -eq 0 ]; then + usage >&2 + exit 1 +fi + +filenames=() +for filename in "${arguments[@]}"; do + if [ -d "$filename" ]; then + shopt -s nullglob + for suite_filename in "$(expand_path "$filename")"/*.bats; do + filenames["${#filenames[@]}"]="$suite_filename" + done + shopt -u nullglob + else + filenames["${#filenames[@]}"]="$(expand_path "$filename")" + fi +done + +if [ "${#filenames[@]}" -eq 1 ]; then + command="bats-exec-test" +else + command="bats-exec-suite" +fi + +if [ -n "$pretty" ]; then + extended_syntax_flag="-x" + formatter="bats-format-tap-stream" +else + extended_syntax_flag="" + formatter="cat" +fi + +set -o pipefail execfail +exec "$command" $count_flag $extended_syntax_flag "${filenames[@]}" | "$formatter" diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-suite b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-suite new file mode 100755 index 00000000000..29ab255d062 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-suite @@ -0,0 +1,55 @@ +#!/usr/bin/env bash +set -e + +count_only_flag="" +if [ "$1" = "-c" ]; then + count_only_flag=1 + shift +fi + +extended_syntax_flag="" +if [ "$1" = "-x" ]; then + extended_syntax_flag="-x" + shift +fi + +trap "kill 0; exit 1" int + +count=0 +for filename in "$@"; do + let count+="$(bats-exec-test -c "$filename")" +done + +if [ -n "$count_only_flag" ]; then + echo "$count" + exit +fi + +echo "1..$count" +status=0 +offset=0 +for filename in "$@"; do + index=0 + { + IFS= read -r # 1..n + while IFS= read -r line; do + case "$line" in + "begin "* ) + let index+=1 + echo "${line/ $index / $(($offset + $index)) }" + ;; + "ok "* | "not ok "* ) + [ -n "$extended_syntax_flag" ] || let index+=1 + echo "${line/ $index / $(($offset + $index)) }" + [ "${line:0:6}" != "not ok" ] || status=1 + ;; + * ) + echo "$line" + ;; + esac + done + } < <( bats-exec-test $extended_syntax_flag "$filename" ) + offset=$(($offset + $index)) +done + +exit "$status" diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-test b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-test new file mode 100755 index 00000000000..8f3bd5102e4 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-test @@ -0,0 +1,346 @@ +#!/usr/bin/env bash +set -e +set -E +set -T + +BATS_COUNT_ONLY="" +if [ "$1" = "-c" ]; then + BATS_COUNT_ONLY=1 + shift +fi + +BATS_EXTENDED_SYNTAX="" +if [ "$1" = "-x" ]; then + BATS_EXTENDED_SYNTAX="$1" + shift +fi + +BATS_TEST_FILENAME="$1" +if [ -z "$BATS_TEST_FILENAME" ]; then + echo "usage: bats-exec " >&2 + exit 1 +elif [ ! -f "$BATS_TEST_FILENAME" ]; then + echo "bats: $BATS_TEST_FILENAME does not exist" >&2 + exit 1 +else + shift +fi + +BATS_TEST_DIRNAME="$(dirname "$BATS_TEST_FILENAME")" +BATS_TEST_NAMES=() + +load() { + local name="$1" + local filename + + if [ "${name:0:1}" = "/" ]; then + filename="${name}" + else + filename="$BATS_TEST_DIRNAME/${name}.bash" + fi + + [ -f "$filename" ] || { + echo "bats: $filename does not exist" >&2 + exit 1 + } + + source "${filename}" +} + +run() { + local e E T oldIFS + [[ ! "$-" =~ e ]] || e=1 + [[ ! "$-" =~ E ]] || E=1 + [[ ! "$-" =~ T ]] || T=1 + set +e + set +E + set +T + output="$("$@" 2>&1)" + status="$?" + oldIFS=$IFS + IFS=$'\n' lines=($output) + [ -z "$e" ] || set -e + [ -z "$E" ] || set -E + [ -z "$T" ] || set -T + IFS=$oldIFS +} + +setup() { + true +} + +teardown() { + true +} + +skip() { + BATS_TEST_SKIPPED=${1:-1} + BATS_TEST_COMPLETED=1 + exit 0 +} + +bats_test_begin() { + BATS_TEST_DESCRIPTION="$1" + if [ -n "$BATS_EXTENDED_SYNTAX" ]; then + echo "begin $BATS_TEST_NUMBER $BATS_TEST_DESCRIPTION" >&3 + fi + setup +} + +bats_test_function() { + local test_name="$1" + BATS_TEST_NAMES["${#BATS_TEST_NAMES[@]}"]="$test_name" +} + +bats_capture_stack_trace() { + BATS_PREVIOUS_STACK_TRACE=( "${BATS_CURRENT_STACK_TRACE[@]}" ) + BATS_CURRENT_STACK_TRACE=() + + local test_pattern=" $BATS_TEST_NAME $BATS_TEST_SOURCE" + local setup_pattern=" setup $BATS_TEST_SOURCE" + local teardown_pattern=" teardown $BATS_TEST_SOURCE" + + local frame + local index=1 + + while frame="$(caller "$index")"; do + BATS_CURRENT_STACK_TRACE["${#BATS_CURRENT_STACK_TRACE[@]}"]="$frame" + if [[ "$frame" = *"$test_pattern" || \ + "$frame" = *"$setup_pattern" || \ + "$frame" = *"$teardown_pattern" ]]; then + break + else + let index+=1 + fi + done + + BATS_SOURCE="$(bats_frame_filename "${BATS_CURRENT_STACK_TRACE[0]}")" + BATS_LINENO="$(bats_frame_lineno "${BATS_CURRENT_STACK_TRACE[0]}")" +} + +bats_print_stack_trace() { + local frame + local index=1 + local count="${#@}" + + for frame in "$@"; do + local filename="$(bats_trim_filename "$(bats_frame_filename "$frame")")" + local lineno="$(bats_frame_lineno "$frame")" + + if [ $index -eq 1 ]; then + echo -n "# (" + else + echo -n "# " + fi + + local fn="$(bats_frame_function "$frame")" + if [ "$fn" != "$BATS_TEST_NAME" ]; then + echo -n "from function \`$fn' " + fi + + if [ $index -eq $count ]; then + echo "in test file $filename, line $lineno)" + else + echo "in file $filename, line $lineno," + fi + + let index+=1 + done +} + +bats_print_failed_command() { + local frame="$1" + local status="$2" + local filename="$(bats_frame_filename "$frame")" + local lineno="$(bats_frame_lineno "$frame")" + + local failed_line="$(bats_extract_line "$filename" "$lineno")" + local failed_command="$(bats_strip_string "$failed_line")" + echo -n "# \`${failed_command}' " + + if [ $status -eq 1 ]; then + echo "failed" + else + echo "failed with status $status" + fi +} + +bats_frame_lineno() { + local frame="$1" + local lineno="${frame%% *}" + echo "$lineno" +} + +bats_frame_function() { + local frame="$1" + local rest="${frame#* }" + local fn="${rest%% *}" + echo "$fn" +} + +bats_frame_filename() { + local frame="$1" + local rest="${frame#* }" + local filename="${rest#* }" + + if [ "$filename" = "$BATS_TEST_SOURCE" ]; then + echo "$BATS_TEST_FILENAME" + else + echo "$filename" + fi +} + +bats_extract_line() { + local filename="$1" + local lineno="$2" + sed -n "${lineno}p" "$filename" +} + +bats_strip_string() { + local string="$1" + printf "%s" "$string" | sed -e "s/^[ "$'\t'"]*//" -e "s/[ "$'\t'"]*$//" +} + +bats_trim_filename() { + local filename="$1" + local length="${#BATS_CWD}" + + if [ "${filename:0:length+1}" = "${BATS_CWD}/" ]; then + echo "${filename:length+1}" + else + echo "$filename" + fi +} + +bats_debug_trap() { + if [ "$BASH_SOURCE" != "$1" ]; then + bats_capture_stack_trace + fi +} + +bats_error_trap() { + BATS_ERROR_STATUS="$?" + BATS_ERROR_STACK_TRACE=( "${BATS_PREVIOUS_STACK_TRACE[@]}" ) + trap - debug +} + +bats_teardown_trap() { + trap "bats_exit_trap" exit + local status=0 + teardown >>"$BATS_OUT" 2>&1 || status="$?" + + if [ $status -eq 0 ]; then + BATS_TEARDOWN_COMPLETED=1 + elif [ -n "$BATS_TEST_COMPLETED" ]; then + BATS_ERROR_STATUS="$status" + BATS_ERROR_STACK_TRACE=( "${BATS_CURRENT_STACK_TRACE[@]}" ) + fi + + bats_exit_trap +} + +bats_exit_trap() { + local status + local skipped + trap - err exit + + skipped="" + if [ -n "$BATS_TEST_SKIPPED" ]; then + skipped=" # skip" + if [ "1" != "$BATS_TEST_SKIPPED" ]; then + skipped+=" ($BATS_TEST_SKIPPED)" + fi + fi + + if [ -z "$BATS_TEST_COMPLETED" ] || [ -z "$BATS_TEARDOWN_COMPLETED" ]; then + echo "not ok $BATS_TEST_NUMBER $BATS_TEST_DESCRIPTION" >&3 + bats_print_stack_trace "${BATS_ERROR_STACK_TRACE[@]}" >&3 + bats_print_failed_command "${BATS_ERROR_STACK_TRACE[${#BATS_ERROR_STACK_TRACE[@]}-1]}" "$BATS_ERROR_STATUS" >&3 + sed -e "s/^/# /" < "$BATS_OUT" >&3 + status=1 + else + echo "ok ${BATS_TEST_NUMBER}${skipped} ${BATS_TEST_DESCRIPTION}" >&3 + status=0 + fi + + rm -f "$BATS_OUT" + exit "$status" +} + +bats_perform_tests() { + echo "1..$#" + test_number=1 + status=0 + for test_name in "$@"; do + "$0" $BATS_EXTENDED_SYNTAX "$BATS_TEST_FILENAME" "$test_name" "$test_number" || status=1 + let test_number+=1 + done + exit "$status" +} + +bats_perform_test() { + BATS_TEST_NAME="$1" + if [ "$(type -t "$BATS_TEST_NAME" || true)" = "function" ]; then + BATS_TEST_NUMBER="$2" + if [ -z "$BATS_TEST_NUMBER" ]; then + echo "1..1" + BATS_TEST_NUMBER="1" + fi + + BATS_TEST_COMPLETED="" + BATS_TEARDOWN_COMPLETED="" + trap "bats_debug_trap \"\$BASH_SOURCE\"" debug + trap "bats_error_trap" err + trap "bats_teardown_trap" exit + "$BATS_TEST_NAME" >>"$BATS_OUT" 2>&1 + BATS_TEST_COMPLETED=1 + + else + echo "bats: unknown test name \`$BATS_TEST_NAME'" >&2 + exit 1 + fi +} + +if [ -z "$TMPDIR" ]; then + BATS_TMPDIR="/tmp" +else + BATS_TMPDIR="${TMPDIR%/}" +fi + +BATS_TMPNAME="$BATS_TMPDIR/bats.$$" +BATS_PARENT_TMPNAME="$BATS_TMPDIR/bats.$PPID" +BATS_OUT="${BATS_TMPNAME}.out" + +bats_preprocess_source() { + BATS_TEST_SOURCE="${BATS_TMPNAME}.src" + { tr -d '\r' < "$BATS_TEST_FILENAME"; echo; } | bats-preprocess > "$BATS_TEST_SOURCE" + trap "bats_cleanup_preprocessed_source" err exit + trap "bats_cleanup_preprocessed_source; exit 1" int +} + +bats_cleanup_preprocessed_source() { + rm -f "$BATS_TEST_SOURCE" +} + +bats_evaluate_preprocessed_source() { + if [ -z "$BATS_TEST_SOURCE" ]; then + BATS_TEST_SOURCE="${BATS_PARENT_TMPNAME}.src" + fi + source "$BATS_TEST_SOURCE" +} + +exec 3<&1 + +if [ "$#" -eq 0 ]; then + bats_preprocess_source + bats_evaluate_preprocessed_source + + if [ -n "$BATS_COUNT_ONLY" ]; then + echo "${#BATS_TEST_NAMES[@]}" + else + bats_perform_tests "${BATS_TEST_NAMES[@]}" + fi +else + bats_evaluate_preprocessed_source + bats_perform_test "$@" +fi diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-format-tap-stream b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-format-tap-stream new file mode 100755 index 00000000000..614768f4d9e --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-format-tap-stream @@ -0,0 +1,165 @@ +#!/usr/bin/env bash +set -e + +# Just stream the TAP output (sans extended syntax) if tput is missing +command -v tput >/dev/null || exec grep -v "^begin " + +header_pattern='[0-9]+\.\.[0-9]+' +IFS= read -r header + +if [[ "$header" =~ $header_pattern ]]; then + count="${header:3}" + index=0 + failures=0 + skipped=0 + name="" + count_column_width=$(( ${#count} * 2 + 2 )) +else + # If the first line isn't a TAP plan, print it and pass the rest through + printf "%s\n" "$header" + exec cat +fi + +update_screen_width() { + screen_width="$(tput cols)" + count_column_left=$(( $screen_width - $count_column_width )) +} + +trap update_screen_width WINCH +update_screen_width + +begin() { + go_to_column 0 + printf_with_truncation $(( $count_column_left - 1 )) " %s" "$name" + clear_to_end_of_line + go_to_column $count_column_left + printf "%${#count}s/${count}" "$index" + go_to_column 1 +} + +pass() { + go_to_column 0 + printf " ✓ %s" "$name" + advance +} + +skip() { + local reason="$1" + [ -z "$reason" ] || reason=": $reason" + go_to_column 0 + printf " - %s (skipped%s)" "$name" "$reason" + advance +} + +fail() { + go_to_column 0 + set_color 1 bold + printf " ✗ %s" "$name" + advance +} + +log() { + set_color 1 + printf " %s\n" "$1" + clear_color +} + +summary() { + printf "\n%d test%s" "$count" "$(plural "$count")" + + printf ", %d failure%s" "$failures" "$(plural "$failures")" + + if [ "$skipped" -gt 0 ]; then + printf ", %d skipped" "$skipped" + fi + + printf "\n" +} + +printf_with_truncation() { + local width="$1" + shift + local string="$(printf "$@")" + + if [ "${#string}" -gt "$width" ]; then + printf "%s..." "${string:0:$(( $width - 4 ))}" + else + printf "%s" "$string" + fi +} + +go_to_column() { + local column="$1" + printf "\x1B[%dG" $(( $column + 1 )) +} + +clear_to_end_of_line() { + printf "\x1B[K" +} + +advance() { + clear_to_end_of_line + echo + clear_color +} + +set_color() { + local color="$1" + local weight="$2" + printf "\x1B[%d;%dm" $(( 30 + $color )) "$( [ "$weight" = "bold" ] && echo 1 || echo 22 )" +} + +clear_color() { + printf "\x1B[0m" +} + +plural() { + [ "$1" -eq 1 ] || echo "s" +} + +_buffer="" + +buffer() { + _buffer="${_buffer}$("$@")" +} + +flush() { + printf "%s" "$_buffer" + _buffer="" +} + +finish() { + flush + printf "\n" +} + +trap finish EXIT + +while IFS= read -r line; do + case "$line" in + "begin "* ) + let index+=1 + name="${line#* $index }" + buffer begin + flush + ;; + "ok "* ) + skip_expr="ok $index # skip (\(([^)]*)\))?" + if [[ "$line" =~ $skip_expr ]]; then + let skipped+=1 + buffer skip "${BASH_REMATCH[2]}" + else + buffer pass + fi + ;; + "not ok "* ) + let failures+=1 + buffer fail + ;; + "# "* ) + buffer log "${line:2}" + ;; + esac +done + +buffer summary diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-preprocess b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-preprocess new file mode 100755 index 00000000000..04297ed019b --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-preprocess @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +set -e + +encode_name() { + local name="$1" + local result="test_" + + if [[ ! "$name" =~ [^[:alnum:]\ _-] ]]; then + name="${name//_/-5f}" + name="${name//-/-2d}" + name="${name// /_}" + result+="$name" + else + local length="${#name}" + local char i + + for ((i=0; i "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 0 ] +} + +@test "Scans all files when no file provided" { + setup_bad_repo + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Scans all files including history" { + setup_bad_repo + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans all files when no file provided with secret in history" { + setup_bad_repo_history + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Scans all files including history with secret in history" { + setup_bad_repo_history + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans history with secrets distributed among branches in history" { + cd $TEST_REPO + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + echo 'todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + git checkout -b testbranch + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + git checkout master + cd - + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans recursively" { + setup_bad_repo + mkdir -p $TEST_REPO/foo/bar/baz + echo '@todo more stuff' > $TEST_REPO/foo/bar/baz/data.txt + repo_run git-secrets --scan -r $TEST_REPO/foo + [ $status -eq 1 ] +} + +@test "Scans recursively only if -r is given" { + setup_bad_repo + mkdir -p $TEST_REPO/foo/bar/baz + echo '@todo more stuff' > $TEST_REPO/foo/bar/baz/data.txt + repo_run git-secrets --scan $TEST_REPO/foo + [ $status -eq 0 ] +} + +@test "Excludes allowed patterns from failures" { + git config --add secrets.patterns 'foo="baz{1,5}"' + git config --add secrets.allowed 'foo="bazzz"' + echo 'foo="bazzz" is ok because 3 "z"s' > "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 0 ] + echo 'This is NOT: ok foo="bazzzz"' > "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 1 ] +} + +@test "Prohibited matches exits 1" { + file="$TEST_REPO/test.txt" + echo '@todo stuff' > $file + echo 'this is forbidden right?' >> $file + repo_run git-secrets --scan $file + [ $status -eq 1 ] + [ "${lines[0]}" == "$file:1:@todo stuff" ] + [ "${lines[1]}" == "$file:2:this is forbidden right?" ] +} + +@test "Only matches on word boundaries" { + file="$TEST_REPO/test.txt" + # Note that the following does not match as it is not a word. + echo 'mesa Jar Jar Binks' > $file + # The following do match because they are in word boundaries. + echo 'foo.me' >> $file + echo '"me"' >> $file + repo_run git-secrets --scan $file + [ $status -eq 1 ] + [ "${lines[0]}" == "$file:2:foo.me" ] + [ "${lines[1]}" == "$file:3:\"me\"" ] +} + +@test "Can scan from stdin using -" { + echo "foo" | "${BATS_TEST_DIRNAME}/../git-secrets" --scan - + echo "me" | "${BATS_TEST_DIRNAME}/../git-secrets" --scan - && exit 1 || true +} + +@test "installs hooks for repo" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + [ -f $TEST_REPO/.git/hooks/pre-commit ] + [ -f $TEST_REPO/.git/hooks/prepare-commit-msg ] + [ -f $TEST_REPO/.git/hooks/commit-msg ] +} + +@test "fails if hook exists and no -f" { + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --install $TEST_REPO + [ $status -eq 1 ] +} + +@test "Overwrites hooks if -f is given" { + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --install -f $TEST_REPO + [ $status -eq 0 ] +} + +@test "installs hooks for repo with Debian style directories" { + setup_bad_repo + mkdir $TEST_REPO/.git/hooks/pre-commit.d + mkdir $TEST_REPO/.git/hooks/prepare-commit-msg.d + mkdir $TEST_REPO/.git/hooks/commit-msg.d + run git-secrets --install $TEST_REPO + [ -f $TEST_REPO/.git/hooks/pre-commit.d/git-secrets ] + [ -f $TEST_REPO/.git/hooks/prepare-commit-msg.d/git-secrets ] + [ -f $TEST_REPO/.git/hooks/commit-msg.d/git-secrets ] +} + +@test "installs hooks to template directory" { + setup_bad_repo + run git-secrets --install $TEMPLATE_DIR + [ $status -eq 0 ] + run git init --template $TEMPLATE_DIR + [ $status -eq 0 ] + [ -f "${TEST_REPO}/.git/hooks/pre-commit" ] + [ -f "${TEST_REPO}/.git/hooks/prepare-commit-msg" ] + [ -f "${TEST_REPO}/.git/hooks/commit-msg" ] +} + +@test "Scans using keys from credentials file" { + echo 'aws_access_key_id = abc123' > $BATS_TMPDIR/test.ini + echo 'aws_secret_access_key=foobaz' >> $BATS_TMPDIR/test.ini + echo 'aws_access_key_id = "Bernard"' >> $BATS_TMPDIR/test.ini + echo 'aws_secret_access_key= "Laverne"' >> $BATS_TMPDIR/test.ini + echo 'aws_access_key_id= Hoagie+man' >> $BATS_TMPDIR/test.ini + cd $TEST_REPO + run git secrets --aws-provider $BATS_TMPDIR/test.ini + [ $status -eq 0 ] + echo "$output" | grep -F "foobaz" + echo "$output" | grep -F "abc123" + echo "$output" | grep -F "Bernard" + echo "$output" | grep -F "Laverne" + echo "$output" | grep -F 'Hoagie\+man' + run git secrets --add-provider -- git secrets --aws-provider $BATS_TMPDIR/test.ini + [ $status -eq 0 ] + echo '(foobaz) test' > $TEST_REPO/bad_file + echo "abc123 test" >> $TEST_REPO/bad_file + echo 'Bernard test' >> $TEST_REPO/bad_file + echo 'Laverne test' >> $TEST_REPO/bad_file + echo 'Hoagie+man test' >> $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 1 ] + echo "$output" | grep "foobaz" + echo "$output" | grep "abc123" + echo "$output" | grep "Bernard" + echo "$output" | grep "Laverne" + echo "$output" | grep -F 'Hoagie+man' +} + +@test "Lists secrets for a repo" { + repo_run git-secrets --list + [ $status -eq 0 ] + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' +} + +@test "Adds secrets to a repo and de-dedupes" { + repo_run git-secrets --add 'testing+123' + [ $status -eq 0 ] + repo_run git-secrets --add 'testing+123' + [ $status -eq 1 ] + repo_run git-secrets --add --literal 'testing+abc' + [ $status -eq 0 ] + repo_run git-secrets --add -l 'testing+abc' + [ $status -eq 1 ] + repo_run git-secrets --list + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' + echo "$output" | grep -F 'secrets.patterns testing+123' + echo "$output" | grep -F 'secrets.patterns testing\+abc' +} + +@test "Adds allowed patterns to a repo and de-dedupes" { + repo_run git-secrets --add -a 'testing+123' + [ $status -eq 0 ] + repo_run git-secrets --add --allowed 'testing+123' + [ $status -eq 1 ] + repo_run git-secrets --add -a -l 'testing+abc' + [ $status -eq 0 ] + repo_run git-secrets --add -a -l 'testing+abc' + [ $status -eq 1 ] + repo_run git-secrets --list + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' + echo "$output" | grep -F 'secrets.allowed testing+123' + echo "$output" | grep -F 'secrets.allowed testing\+abc' +} + +@test "Empty lines must be ignored in .gitallowed files" { + setup_bad_repo + echo '' >> $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Comment lines must be ignored in .gitallowed files" { + setup_bad_repo_with_hash + repo_run git-secrets --scan + [ $status -eq 1 ] + echo '#hash' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] + echo 'hash' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Scans all files and allowing none of the bad patterns in .gitallowed" { + setup_bad_repo + echo 'hello' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Scans all files and allowing all bad patterns in .gitallowed" { + setup_bad_repo + echo '@todo' > $TEST_REPO/.gitallowed + echo 'forbidden' >> $TEST_REPO/.gitallowed + echo 'me' >> $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Adds common AWS patterns" { + repo_run git config --unset-all secrets + repo_run git-secrets --register-aws + git config --local --get secrets.providers + repo_run git-secrets --list + echo "$output" | grep -F '(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}' + echo "$output" | grep "AKIAIOSFODNN7EXAMPLE" + echo "$output" | grep "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" +} + +@test "Adds providers" { + repo_run git-secrets --add-provider -- echo foo baz bar + [ $status -eq 0 ] + repo_run git-secrets --add-provider -- echo bam + [ $status -eq 0 ] + repo_run git-secrets --list + echo "$output" | grep -F 'echo foo baz bar' + echo "$output" | grep -F 'echo bam' + echo 'foo baz bar' > $TEST_REPO/bad_file + echo 'bam' >> $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 1 ] + echo "$output" | grep -F 'foo baz bar' + echo "$output" | grep -F 'bam' +} + +@test "Strips providers that return nothing" { + repo_run git-secrets --add-provider -- 'echo' + [ $status -eq 0 ] + repo_run git-secrets --add-provider -- 'echo 123' + [ $status -eq 0 ] + repo_run git-secrets --list + echo "$output" | grep -F 'echo 123' + echo 'foo' > $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 0 ] +} + +@test "--recursive cannot be used with SCAN_*" { + repo_run git-secrets --scan -r --cached + [ $status -eq 1 ] + repo_run git-secrets --scan -r --no-index + [ $status -eq 1 ] + repo_run git-secrets --scan -r --untracked + [ $status -eq 1 ] +} + +@test "--recursive can be used with --scan" { + repo_run git-secrets --scan -r + [ $status -eq 0 ] +} + +@test "--recursive can't be used with --list" { + repo_run git-secrets --list -r + [ $status -eq 1 ] +} + +@test "-f can only be used with --install" { + repo_run git-secrets --scan -f + [ $status -eq 1 ] +} + +@test "-a can only be used with --add" { + repo_run git-secrets --scan -a + [ $status -eq 1 ] +} + +@test "-l can only be used with --add" { + repo_run git-secrets --scan -l + [ $status -eq 1 ] +} + +@test "--cached can only be used with --scan" { + repo_run git-secrets --list --cached + [ $status -eq 1 ] +} + +@test "--no-index can only be used with --scan" { + repo_run git-secrets --list --no-index + [ $status -eq 1 ] +} + +@test "--untracked can only be used with --scan" { + repo_run git-secrets --list --untracked + [ $status -eq 1 ] +} diff --git a/.github/actions/runleaks/git-secrets/test/pre-commit.bats b/.github/actions/runleaks/git-secrets/test/pre-commit.bats new file mode 100644 index 00000000000..5ace267cbb3 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/pre-commit.bats @@ -0,0 +1,62 @@ +#!/usr/bin/env bats +load test_helper + +@test "Rejects commits with prohibited patterns in changeset" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] + [ "${lines[1]}" == "failure1.txt:1:another line... forbidden" ] + [ "${lines[2]}" == "failure2.txt:1:me" ] +} + +@test "Rejects commits with prohibited patterns in changeset with filename that contain spaces" { + setup_bad_repo_with_spaces + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "da ta.txt:1:@todo more stuff" ] +} + +@test "Scans staged files" { + cd $TEST_REPO + repo_run git-secrets --install $TEST_REPO + echo '@todo more stuff' > $TEST_REPO/data.txt + echo 'hi there' > $TEST_REPO/ok.txt + git add -A + echo 'fixed the working directory, but not staged' > $TEST_REPO/data.txt + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] +} + +@test "Allows commits that do not match prohibited patterns" { + setup_good_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'This is fine' + [ $status -eq 0 ] + # Ensure deleted files are filtered out of the grep + rm $TEST_REPO/data.txt + echo 'aaa' > $TEST_REPO/data_2.txt + run git add -A + run git commit -m 'This is also fine' + [ $status -eq 0 ] +} + +@test "Rejects commits with prohibited patterns in changeset when AWS provider is enabled" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --register-aws $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + echo "${lines}" | grep -vq 'git secrets --aws-provider: command not found' + + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] + [ "${lines[1]}" == "failure1.txt:1:another line... forbidden" ] + [ "${lines[2]}" == "failure2.txt:1:me" ] +} diff --git a/.github/actions/runleaks/git-secrets/test/prepare-commit-msg.bats b/.github/actions/runleaks/git-secrets/test/prepare-commit-msg.bats new file mode 100644 index 00000000000..a211c1318a2 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/prepare-commit-msg.bats @@ -0,0 +1,33 @@ +#!/usr/bin/env bats +load test_helper + +@test "Rejects merges with prohibited patterns in history" { + setup_good_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + git commit -m 'OK' + git checkout -b feature + echo '@todo' > data.txt + git add -A + git commit -m 'Bad commit' --no-verify + echo 'Fixing!' > data.txt + git add -A + git commit -m 'Fixing commit' + git checkout master + run git merge --no-ff feature + [ $status -eq 1 ] +} + +@test "Allows merges that do not match prohibited patterns" { + setup_good_repo + cd $TEST_REPO + repo_run git-secrets --install + git commit -m 'OK' + git checkout -b feature + echo 'Not bad' > data.txt + git add -A + git commit -m 'Good commit' + git checkout master + run git merge --no-ff feature + [ $status -eq 0 ] +} diff --git a/.github/actions/runleaks/git-secrets/test/test_helper.bash b/.github/actions/runleaks/git-secrets/test/test_helper.bash new file mode 100644 index 00000000000..9133e5162ec --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/test_helper.bash @@ -0,0 +1,94 @@ +#!/bin/bash +export TEST_REPO="$BATS_TMPDIR/test-repo" +export TEMP_HOME="$BATS_TMPDIR/home" +export TEMPLATE_DIR="${BATS_TMPDIR}/template" +INITIAL_PATH="${PATH}" +INITIAL_HOME=${HOME} + +setup() { + setup_repo + [ -d "${TEMPLATE_DIR}" ] && rm -rf "${TEMPLATE_DIR}" + [ -d "${TEMP_HOME}" ] && rm -rf "${TEMP_HOME}" + mkdir -p $TEMP_HOME + export HOME=$TEMP_HOME + export PATH="${BATS_TEST_DIRNAME}/..:${INITIAL_PATH}" + cd $TEST_REPO +} + +teardown() { + delete_repo + export PATH="${INITIAL_PATH}" + export HOME="${INITIAL_HOME}" + [ -d "${TEMP_HOME}" ] && rm -rf "${TEMP_HOME}" +} + +delete_repo() { + [ -d $TEST_REPO ] && rm -rf $TEST_REPO || true +} + +setup_repo() { + delete_repo + mkdir -p $TEST_REPO + cd $TEST_REPO + git init + git config --local --add secrets.patterns '@todo' + git config --local --add secrets.patterns 'forbidden|me' + git config --local --add secrets.patterns '#hash' + git config --local user.email "you@example.com" + git config --local user.name "Your Name" + cd - +} + +repo_run() { + cmd="$1" + shift + cd "${TEST_REPO}" + run "${BATS_TEST_DIRNAME}/../${cmd}" $@ + cd - +} + +# Creates a repo that should fail +setup_bad_repo() { + cd $TEST_REPO + echo '@todo more stuff' > $TEST_REPO/data.txt + echo 'hi there' > $TEST_REPO/ok.txt + echo 'another line... forbidden' > $TEST_REPO/failure1.txt + echo 'me' > $TEST_REPO/failure2.txt + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_with_spaces() { + cd $TEST_REPO + echo '@todo more stuff' > "$TEST_REPO/da ta.txt" + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_with_hash() { + cd $TEST_REPO + echo '#hash' > "$TEST_REPO/data.txt" + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_history() { + cd $TEST_REPO + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + echo 'todo' > $TEST_REPO/history_failure.txt + git add -A + cd - +} + +# Creates a repo that does not fail +setup_good_repo() { + cd $TEST_REPO + echo 'hello!' > $TEST_REPO/data.txt + git add -A + cd - +} diff --git a/.github/actions/runleaks/lib/scan.sh b/.github/actions/runleaks/lib/scan.sh new file mode 100644 index 00000000000..4a4b9cadb61 --- /dev/null +++ b/.github/actions/runleaks/lib/scan.sh @@ -0,0 +1,126 @@ +#!/bin/bash + +# Init +repo="$2" +run_count=$3 +min_days_old=$4 +max_days_old=$5 +fail_on_leak=$8 +max_proc_count=32 +log_file=exceptions_search.txt + +# Set defaults +if [[ -z $min_days_old ]]; then + min_days_old="0" + echo "min_days_old: $min_days_old" +fi + +if [[ -z $max_days_old ]]; then + max_days_old="3" + echo "max_days_old: $max_days_old" +fi + +if [[ -z $fail_on_leak ]]; then + fail_on_leak=true + echo "fail_on_leak: $fail_on_leak" +fi + +# If file path error, use default patterns +if cp "$6" /patterns.txt; then + # Register patterns + grep -v -E '(#.*$)|(^$)' /patterns.txt >/clean_patterns.txt + while read line; do + if [[ "$line" != "#*" ]]; then + git secrets $line --global + fi + done auth.txt +gh auth login --with-token ((now - ('"$max_days_old"'*86400))|strftime("%Y-%m-%dT%H:%M:%S %Z"))) | select(.status =="completed").databaseId' --limit $run_list_limit) +run_ids_limited=$(printf "%s\n" ${run_ids[@]} | head -$run_count) + +echo "Runs to scan: $run_count" +echo $run_ids_limited + +touch "$log_file" + +run_for_each() { + local each=$@ + + # Collect run logs and remove null + log_out=$(gh run view $each --repo "$repo" --log 2>/dev/null | sed 's/\x0//g') + if [[ $? -ne 0 ]]; then + exit 1 + fi + + # Identify potential exceptions + scan_out=$(echo "$log_out" | git secrets --scan - 2>&1) + status=$? + + # If exception, add to array of details + if (($status != 0)); then + raw_log_full=$(echo "$scan_out" | grep '(standard input)') + exception_line=$(echo "$raw_log_full" | awk -F '\t' '{print $2$3}' | sed 's/[^a-zA-Z0-9]/_/g' | sed 's/.*/"&",/') + exception=$(gh run view $each --repo "$repo" --json name,createdAt,databaseId,url,updatedAt,headBranch 2>/dev/null) + if [[ $? -ne 0 ]]; then + exit 1 + fi + exception_with_detail=$(echo $exception | jq '. + {exception_detail: {'"$exception_line"'}}') + echo $exception_with_detail >>"$log_file" + fi +} + +# Make visible to subprocesses +export -f run_for_each +export log_file +export repo + +parallel -0 --jobs $max_proc_count run_for_each ::: $run_ids_limited + +json_out=$(jq -n '.exceptions |= [inputs]' "$log_file") +json_out_length=$(echo $json_out | jq -s '.[].exceptions' | jq length) +echo "$json_out" + +# Make output friendly +json_out="${json_out//'%'/'%25'}" +json_out="${json_out//$'\n'/'%0A'}" +json_out="${json_out//$'\r'/'%0D'}" +echo "exceptions=$json_out" >> $GITHUB_OUTPUT +echo "count=$json_out_length" >> $GITHUB_OUTPUT + +rm "$log_file" + +if [[ $fail_on_leak = true && json_out_length -gt 0 ]]; then + echo "Failing since leak!" + exit 1 +fi