Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Parquet Projection For Nested Types #2453

Closed
tustvold opened this issue May 5, 2022 · 5 comments · Fixed by #2631
Closed

Incorrect Parquet Projection For Nested Types #2453

tustvold opened this issue May 5, 2022 · 5 comments · Fixed by #2631
Labels
bug Something isn't working

Comments

@tustvold
Copy link
Contributor

tustvold commented May 5, 2022

Describe the bug

use datafusion::prelude::{ParquetReadOptions, SessionContext};

#[tokio::test]
async fn temp() {
    let ctx = SessionContext::new();

    ctx.register_parquet("patient", "part-00000-f6337bce-7fcd-4021-9f9d-040413ea83f8-c000.snappy.parquet",
                         ParquetReadOptions::default()).await.unwrap();

    let df = ctx.sql("SELECT patient.meta FROM patient LIMIT 10").await.unwrap();
    df.show().await.unwrap();
}

Where part-00000-f6337bce-7fcd-4021-9f9d-040413ea83f8-c000.snappy.parquet is the parquet file provided by @kesavkolla in #2439

This fails with

called `Result::unwrap()` on an `Err` value: ArrowError(ExternalError(ArrowError(InvalidArgumentError("column types must match schema types, expected Struct([Field { name: \"id\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"extension\", data_type: List(Field { name: \"element\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"versionId\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"lastUpdated\", data_type: Timestamp(Nanosecond, None), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"source\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"profile\", data_type: List(Field { name: \"element\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"security\", data_type: List(Field { name: \"element\", data_type: Struct([Field { name: \"id\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"extension\", data_type: List(Field { name: \"element\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"system\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"version\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"code\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"display\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"userSelected\", data_type: Boolean, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"tag\", data_type: List(Field { name: \"element\", data_type: Struct([Field { name: \"id\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"extension\", data_type: List(Field { name: \"element\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"system\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"version\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"code\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"display\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }, Field { name: \"userSelected\", data_type: Boolean, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]) but found Struct([Field { name: \"id\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]) at column index 0"))))

The problem arises because ParquetExec is passing the projection indices for the arrow schema to get_record_reader_by_columns which instead expects parquet column indexes. In the presence of nested types, these are not the same thing.

This is further complicated by apache/arrow-rs#1652 and apache/arrow-rs#1651

To Reproduce

Run the code above

Expected behavior

The code should not error

@tustvold
Copy link
Contributor Author

apache/arrow-rs#1716 contains a new API that should fix this

@kesavkolla
Copy link

Now arrow-rs is released 15 version will datafusion upgrade to that so this bug can be closed?

@tustvold
Copy link
Contributor Author

I can confirm #2631 closes this issue, although it should be noted it now runs into a different issue that will need to be triaged and fixed

called `Result::unwrap()` on an `Err` value: ArrowError(ComputeError("concat requires input of at least one array"))
thread 'physical_plan::file_format::parquet::tests::temp' panicked at 'called `Result::unwrap()` on an `Err` value: ArrowError(ComputeError("concat requires input of at least one array"))', datafusion/common/src/scalar.rs:1206:18
stack backtrace:
   0: rust_begin_unwind
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14
   2: core::result::unwrap_failed
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/result.rs:1785:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/result.rs:1078:23
   4: datafusion_common::scalar::ScalarValue::to_array_of_size
             at /home/raphael/repos/external/arrow-datafusion/datafusion/common/src/scalar.rs:1198:22
   5: datafusion_common::scalar::ScalarValue::to_array_of_size::{{closure}}
             at /home/raphael/repos/external/arrow-datafusion/datafusion/common/src/scalar.rs:1253:45
   6: core::iter::adapters::map::map_fold::{{closure}}
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/iter/adapters/map.rs:84:28
   7: core::iter::traits::iterator::Iterator::fold
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/iter/traits/iterator.rs:2362:21
   8: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/iter/adapters/map.rs:124:9
   9: core::iter::traits::iterator::Iterator::for_each
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/iter/traits/iterator.rs:779:9
  10: <alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/vec/spec_extend.rs:40:17
  11: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/vec/spec_from_iter_nested.rs:62:9
  12: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/vec/spec_from_iter.rs:33:9
  13: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/vec/mod.rs:2554:9
  14: core::iter::traits::iterator::Iterator::collect
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/iter/traits/iterator.rs:1784:9
  15: datafusion_common::scalar::ScalarValue::to_array_of_size
             at /home/raphael/repos/external/arrow-datafusion/datafusion/common/src/scalar.rs:1248:48
  16: datafusion_common::scalar::ScalarValue::to_array
             at /home/raphael/repos/external/arrow-datafusion/datafusion/common/src/scalar.rs:658:9
  17: datafusion::datasource::get_statistics_with_limit::{{closure}}
             at ./src/datasource/mod.rs:75:56
  18: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/future/mod.rs:91:19
  19: datafusion::datasource::listing::table::ListingTable::list_files_for_scan::{{closure}}
             at ./src/datasource/listing/table.rs:394:67
  20: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/future/mod.rs:91:19
  21: <datafusion::datasource::listing::table::ListingTable as datafusion::datasource::datasource::TableProvider>::scan::{{closure}}

However, if you disable stats collection it works correctly 🎉

#[tokio::test]
    async fn temp() {
        let ctx = SessionContext::new();

        let mut options = ParquetReadOptions::default()
            .parquet_pruning(true)
            .to_listing_options(2);

        // Disable stats collection
        options.collect_stat = false;

        ctx.register_listing_table("patient", "/home/raphael/Downloads/part-00000-f6337bce-7fcd-4021-9f9d-040413ea83f8-c000.snappy.parquet", options, None).await.unwrap();

        let df = ctx.sql("SELECT patient.meta FROM patient LIMIT 10").await.unwrap();
        df.show().await.unwrap();
    }

I will file a follow on ticket.

@kesavkolla
Copy link

kesavkolla commented May 31, 2022

For some reason if I use SELECT * FROM patient it's not getting data for all the columns. It got only few columns data but other non Struct columns got empty data. Is this because of setting collect_stat to false?

@tustvold
Copy link
Contributor Author

Is this using the arrow 15 branch - #2631 ?

I would expect this behaviour from master, where projection, including no projection, is broken. However, it appears to be working correctly on the arrow 15 branch?

+--------------+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+--------+------------+-----------------+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+----------------------+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-------------+------------------+-----------------------+----------------------+
| resourceType | id                                   | meta                                                                                                                                                                                                 | implicitRules | language | text                                                                                                                                                                                   | contained | extension                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | modifierExtension | identifier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | active | name                                                                                                                                                                                                                                                                                                                                                                                      | telecom                                                                                                                    | gender | birthDate  | deceasedBoolean | deceasedDateTime | address                                                                                                                                                                                                                                                                                                                                                                                                                  | maritalStatus                                                                                                                                                                                                                                             | multipleBirthBoolean | multipleBirthInteger | photo | contact                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | communication                                                                                                                                                                                                                                                                                           | generalPractitioner | managingOrganization                                                                                                                                       | link | yy__version | yy__us_core_race | yy__us_core_ethnicity | yy__us_core_birthsex |
+--------------+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+--------+------------+-----------------+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+----------------------+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-------------+------------------+-----------------------+----------------------+
| Patient      | eTplvxRvcd-eT1nEI8BvQRQ3             |                                                                                                                                                                                                      |               |          |                                                                                                                                                                                        |           | [{"extension":[{"valueCoding":{"system":"http://terminology.hl7.org/CodeSystem/v3-NullFlavor","code":"UNK","display":"Unknown"},"url":"ombCategory"},{"valueString":"Unknown","url":"text"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"}, {"extension":[{"valueString":"Unknown","url":"text"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"}, {"valueCodeableConcept":{"coding":[{"system":"urn:oid:1.2.840.114350.1.13.0.1.7.10.698084.130.657370.19999000","code":"female"}]},"url":"http://open.epic.com/FHIR/StructureDefinition/extension/legal-sex"}, {"valueCodeableConcept":{"coding":[{"system":"urn:oid:1.2.840.114350.1.13.0.1.7.10.698084.130.657370.19999000","code":"female"}]},"url":"http://open.epic.com/FHIR/StructureDefinition/extension/sex-for-clinical-use"}, {"valueCode":"F","url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"}]                                                                                                                                                                                                            |                   | [{"id": null, "extension": null, "use": "usual", "type": null, "system": "urn:oid:2.16.840.1.113883.4.1", "value": "234-98-7197", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "EPIC"}, "system": "urn:oid:1.2.840.114350.1.1", "value": "E3480", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "EXTERNAL"}, "system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.698084", "value": "Z5337", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "FHIR"}, "system": "http://open.epic.com/FHIR/StructureDefinition/patient-dstu2-fhir-id", "value": "TkxuGNMCpBMIkhR5bO0UFliCEuV9bS6E9zUmYP0aN7HgB", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "FHIR STU3"}, "system": "http://open.epic.com/FHIR/StructureDefinition/patient-fhir-id", "value": "eTplvxRvcd-eT1nEI8BvQRQ3", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "INTERNAL"}, "system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.698084", "value": "     Z5337", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "MRN"}, "system": "urn:oid:1.2.840.114350.1.13.0.1.7.5.737384.14", "value": "203235", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "MYCHARTLOGIN"}, "system": "urn:oid:1.2.840.114350.1.13.0.1.7.3.878082.110", "value": "ICONJENNIFER", "period": null, "assigner": null}, {"id": null, "extension": null, "use": "usual", "type": {"id": null, "extension": null, "coding": null, "text": "WPRINTERNAL"}, "system": "urn:oid:1.2.840.114350.1.13.0.1.7.2.878082", "value": "280", "period": null, "assigner": null}] | true   | [{"id": null, "extension": null, "use": "official", "text": "Jennifer Infection Control", "family": "Infection Control", "given": [Jennifer], "prefix": null, "suffix": null, "period": null}, {"id": null, "extension": null, "use": "usual", "text": "Jennifer Infection Control", "family": "Infection Control", "given": [Jennifer], "prefix": null, "suffix": null, "period": null}] | [{"id": null, "extension": null, "system": "phone", "value": "608-986-4254", "use": "home", "rank": null, "period": null}] | female | 1964-02-05 | false           |                  | [{"id": null, "extension": null, "use": "home", "type": null, "text": null, "line": [1979 Milky Way, ], "city": "Verona", "district": "DANE", "state": "WI", "postalCode": "53593", "country": "US", "period": null}]                                                                                                                                                                                                    | {"id": null, "extension": null, "coding": null, "text": "Unknown"}                                                                                                                                                                                        |                      |                      |       | [{"id": null, "extension": null, "modifierExtension": null, "relationship": [{"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0131", "version": null, "code": "C", "display": "Emergency Contact", "userSelected": null}], "text": null}], "name": {"id": null, "extension": null, "use": "usual", "text": "Jenny Inf Validate", "family": null, "given": null, "prefix": null, "suffix": null, "period": null}, "telecom": [{"id": null, "extension": null, "system": "phone", "value": "608-986-4254", "use": "temp", "rank": null, "period": null}], "address": {"id": null, "extension": null, "use": "home", "type": null, "text": null, "line": [1979 Milky Way, ], "city": "Verona", "district": "DANE", "state": "WI", "postalCode": "53593", "country": "US", "period": null}, "gender": null, "organization": null, "period": null}] | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en", "display": "English", "userSelected": null}], "text": "English"}, "preferred": true}]    |                     | {"id": null, "extension": null, "reference": "Organization/enRyWnSP963FYDpoks4NHOA3", "type": null, "identifier": null, "display": "Epic Hospital System"} |      |             |                  |                       |                      |
| Patient      | 1127421b-66fd-85ff-b92e-827c9a280be2 | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Keli839 Windler79"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"M"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"Boston","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.626048129961879}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":43.37395187003812}]                   |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "1127421b-66fd-85ff-b92e-827c9a280be2", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "1127421b-66fd-85ff-b92e-827c9a280be2", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-43-1300", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "DL", "display": "Driver's License", "userSelected": null}], "text": "Driver's License"}, "system": "urn:oid:2.16.840.1.113883.4.3.25", "value": "S99915425", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "PPN", "display": "Passport Number", "userSelected": null}], "text": "Passport Number"}, "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", "value": "X77820784X", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                 |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Quigley282", "given": [Wilmer32], "prefix": [Mr.], "suffix": null, "period": null}]                                                                                                                                                                                                                          | [{"id": null, "extension": null, "system": "phone", "value": "555-840-3615", "use": "home", "rank": null, "period": null}] | male   | 1976-12-16 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":41.89010728818103},{"url":"longitude","valueDecimal":-71.3059007728953}]}], "use": null, "type": null, "text": null, "line": [776 Waelchi Overpass Suite 25], "city": "Attleboro", "district": null, "state": "MA", "postalCode": "02703", "country": "US", "period": null}]      | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "S", "display": "S", "userSelected": null}], "text": "S"}                         | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: -223297253198561881  Population seed: 960411</div>"}                                                                                                                 |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | 3bdac299-3731-0acd-9cd9-fbba40236e3a | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Quinn173 Lebsack687"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"F"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"Bedford","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.045211340867391314}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":31.95478865913261}]             |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "3bdac299-3731-0acd-9cd9-fbba40236e3a", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "3bdac299-3731-0acd-9cd9-fbba40236e3a", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-31-6394", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "DL", "display": "Driver's License", "userSelected": null}], "text": "Driver's License"}, "system": "urn:oid:2.16.840.1.113883.4.3.25", "value": "S99998286", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "PPN", "display": "Passport Number", "userSelected": null}], "text": "Passport Number"}, "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", "value": "X85070564X", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                 |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Collier206", "given": [Towanda270], "prefix": [Mrs.], "suffix": null, "period": null}, {"id": null, "extension": null, "use": "maiden", "text": null, "family": "Mayer370", "given": [Towanda270], "prefix": [Mrs.], "suffix": null, "period": null}]                                                        | [{"id": null, "extension": null, "system": "phone", "value": "555-973-5271", "use": "home", "rank": null, "period": null}] | female | 1988-04-26 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":42.09871671034907},{"url":"longitude","valueDecimal":-72.57154867948968}]}], "use": null, "type": null, "text": null, "line": [906 Vandervort Crossroad Apt 64], "city": "Springfield", "district": null, "state": "MA", "postalCode": "01104", "country": "US", "period": null}] | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "M", "display": "M", "userSelected": null}], "text": "M"}                         | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: -3514354516532618450  Population seed: 960411</div>"}                                                                                                                |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | 47e6dfcb-30a9-2a66-c8fb-984da359ead1 | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Olga567 Wunsch504"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"F"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"Tyngsborough","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.1435201139786352}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":25.856479886021365}]           |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "47e6dfcb-30a9-2a66-c8fb-984da359ead1", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "47e6dfcb-30a9-2a66-c8fb-984da359ead1", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-19-2252", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "DL", "display": "Driver's License", "userSelected": null}], "text": "Driver's License"}, "system": "urn:oid:2.16.840.1.113883.4.3.25", "value": "S99944894", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "PPN", "display": "Passport Number", "userSelected": null}], "text": "Passport Number"}, "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", "value": "X71377926X", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                 |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Powlowski563", "given": [Bella510], "prefix": [Mrs.], "suffix": null, "period": null}, {"id": null, "extension": null, "use": "maiden", "text": null, "family": "Prohaska837", "given": [Bella510], "prefix": [Mrs.], "suffix": null, "period": null}]                                                       | [{"id": null, "extension": null, "system": "phone", "value": "555-102-4193", "use": "home", "rank": null, "period": null}] | female | 1994-09-30 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":42.594891893685656},{"url":"longitude","valueDecimal":-70.91669250267296}]}], "use": null, "type": null, "text": null, "line": [141 Hane Club], "city": "Danvers", "district": null, "state": "MA", "postalCode": null, "country": "US", "period": null}]                         | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "M", "display": "M", "userSelected": null}], "text": "M"}                         | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: -1236940699136042677  Population seed: 960411</div>"}                                                                                                                |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | 8aec8d06-74af-aed5-0132-5b77fc6b418b | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Cecile401 Heidenreich818"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"F"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"New Bedford","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.7725555461331691}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":54.22744445386683}]      |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "8aec8d06-74af-aed5-0132-5b77fc6b418b", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "8aec8d06-74af-aed5-0132-5b77fc6b418b", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-38-7110", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "DL", "display": "Driver's License", "userSelected": null}], "text": "Driver's License"}, "system": "urn:oid:2.16.840.1.113883.4.3.25", "value": "S99959565", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "PPN", "display": "Passport Number", "userSelected": null}], "text": "Passport Number"}, "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", "value": "X7055866X", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                  |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Konopelski743", "given": [Alysa236], "prefix": [Ms.], "suffix": null, "period": null}]                                                                                                                                                                                                                       | [{"id": null, "extension": null, "system": "phone", "value": "555-526-4525", "use": "home", "rank": null, "period": null}] | female | 1965-10-21 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":41.84268235860006},{"url":"longitude","valueDecimal":-69.97656155315549}]}], "use": null, "type": null, "text": null, "line": [402 Rath Manor Suite 94], "city": "Eastham", "district": null, "state": "MA", "postalCode": null, "country": "US", "period": null}]                | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "S", "display": "S", "userSelected": null}], "text": "S"}                         | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: -6858861957750234386  Population seed: 960411</div>"}                                                                                                                |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | 03af4547-1d67-68ae-ebbc-cc5a9fc6c898 | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Dorothea248 Raynor401"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"M"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"Marlborough","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.8268701269918577}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":37.17312987300814}]         |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "03af4547-1d67-68ae-ebbc-cc5a9fc6c898", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "03af4547-1d67-68ae-ebbc-cc5a9fc6c898", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-64-5943", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "DL", "display": "Driver's License", "userSelected": null}], "text": "Driver's License"}, "system": "urn:oid:2.16.840.1.113883.4.3.25", "value": "S99943522", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "PPN", "display": "Passport Number", "userSelected": null}], "text": "Passport Number"}, "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", "value": "X52742960X", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                 |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Schuster709", "given": [Carlton317], "prefix": [Mr.], "suffix": [JD], "period": null}]                                                                                                                                                                                                                       | [{"id": null, "extension": null, "system": "phone", "value": "555-174-1540", "use": "home", "rank": null, "period": null}] | male   | 1982-12-05 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":42.67217723881718},{"url":"longitude","valueDecimal":-71.29043550601857}]}], "use": null, "type": null, "text": null, "line": [148 Schneider Neck], "city": "Lowell", "district": null, "state": "MA", "postalCode": "01851", "country": "US", "period": null}]                   | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "M", "display": "M", "userSelected": null}], "text": "M"}                         | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: 6256616874878650009  Population seed: 960411</div>"}                                                                                                                 |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | 180aefff-e7cc-940e-cb2c-3ed99c1aed39 | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Erika442 Morar593"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"F"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"Milford","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.5801999125523113}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":56.41980008744769}]                 |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "180aefff-e7cc-940e-cb2c-3ed99c1aed39", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "180aefff-e7cc-940e-cb2c-3ed99c1aed39", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-17-6977", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "DL", "display": "Driver's License", "userSelected": null}], "text": "Driver's License"}, "system": "urn:oid:2.16.840.1.113883.4.3.25", "value": "S99917899", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "PPN", "display": "Passport Number", "userSelected": null}], "text": "Passport Number"}, "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", "value": "X34904922X", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                 |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Runolfsson901", "given": [Arlene209], "prefix": [Mrs.], "suffix": null, "period": null}, {"id": null, "extension": null, "use": "maiden", "text": null, "family": "Dibbert990", "given": [Arlene209], "prefix": [Mrs.], "suffix": null, "period": null}]                                                     | [{"id": null, "extension": null, "system": "phone", "value": "555-288-9267", "use": "home", "rank": null, "period": null}] | female | 1963-10-26 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":42.610630412083424},{"url":"longitude","valueDecimal":-72.59294763251627}]}], "use": null, "type": null, "text": null, "line": [313 Flatley Neck Unit 4], "city": "Greenfield", "district": null, "state": "MA", "postalCode": null, "country": "US", "period": null}]            | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "M", "display": "M", "userSelected": null}], "text": "M"}                         | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: -3898542022148173457  Population seed: 960411</div>"}                                                                                                                |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | 966070ad-f22e-631f-acf2-657c90f903f1 | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Nakesha793 Bernhard322"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"M"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"East Longmeadow","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.001130283521684783}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":14.998869716478316}] |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "966070ad-f22e-631f-acf2-657c90f903f1", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "966070ad-f22e-631f-acf2-657c90f903f1", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-16-9875", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Welch179", "given": [Adrian111], "prefix": null, "suffix": null, "period": null}]                                                                                                                                                                                                                            | [{"id": null, "extension": null, "system": "phone", "value": "555-235-2038", "use": "home", "rank": null, "period": null}] | male   | 2006-01-01 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":42.65303866038144},{"url":"longitude","valueDecimal":-71.38787925845732}]}], "use": null, "type": null, "text": null, "line": [275 Nienow Junction], "city": "Lowell", "district": null, "state": "MA", "postalCode": null, "country": "US", "period": null}]                     | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "S", "display": "Never Married", "userSelected": null}], "text": "Never Married"} | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: 4635699768341268942  Population seed: 960411</div>"}                                                                                                                 |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | d94a1af1-bf9b-a705-bc54-2d0009c39981 | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Kara173 Botsford977"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"F"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"Methuen","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":13.34103765187151}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":45.65896234812849}]                |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "d94a1af1-bf9b-a705-bc54-2d0009c39981", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "d94a1af1-bf9b-a705-bc54-2d0009c39981", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-12-5825", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "DL", "display": "Driver's License", "userSelected": null}], "text": "Driver's License"}, "system": "urn:oid:2.16.840.1.113883.4.3.25", "value": "S99943233", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "PPN", "display": "Passport Number", "userSelected": null}], "text": "Passport Number"}, "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", "value": "X40077261X", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                 |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Buckridge80", "given": [Shane235], "prefix": [Mrs.], "suffix": null, "period": null}, {"id": null, "extension": null, "use": "maiden", "text": null, "family": "Leannon79", "given": [Shane235], "prefix": [Mrs.], "suffix": null, "period": null}]                                                          | [{"id": null, "extension": null, "system": "phone", "value": "555-575-1128", "use": "home", "rank": null, "period": null}] | female | 1961-10-27 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":42.43884801250347},{"url":"longitude","valueDecimal":-71.14121105733896}]}], "use": null, "type": null, "text": null, "line": [1047 Beier Park Unit 7], "city": "Belmont", "district": null, "state": "MA", "postalCode": "02478", "country": "US", "period": null}]              | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "M", "display": "M", "userSelected": null}], "text": "M"}                         | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: 3390461079555467149  Population seed: 960411</div>"}                                                                                                                 |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
| Patient      | 7f217143-f36c-707a-b77c-f4a1cf70f952 | {"id": null, "extension": null, "versionId": null, "lastUpdated": null, "source": null, "profile": [http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], "security": null, "tag": null} |               |          | {"id": null, "extension": null, "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml">Generated by <a href="AmbulatoryEHR1">Synthea</a>.Version identifier: 9f5ff46 |           | [{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"text","valueString":"White"}]}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}]}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","valueString":"Ana972 Kiehn525"}, {"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"F"}, {"url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","valueAddress":{"city":"Amherst","state":"Massachusetts","country":"US"}}, {"url":"http://synthetichealth.github.io/synthea/disability-adjusted-life-years","valueDecimal":0.006828050454379106}, {"url":"http://synthetichealth.github.io/synthea/quality-adjusted-life-years","valueDecimal":5.993171949545621}]                 |                   | [{"id": null, "extension": null, "use": null, "type": null, "system": "AmbulatoryEHR1", "value": "7f217143-f36c-707a-b77c-f4a1cf70f952", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "MR", "display": "Medical Record Number", "userSelected": null}], "text": "Medical Record Number"}, "system": "http://hospital.smarthealthit.org", "value": "7f217143-f36c-707a-b77c-f4a1cf70f952", "period": null, "assigner": null}, {"id": null, "extension": null, "use": null, "type": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "version": null, "code": "SS", "display": "Social Security Number", "userSelected": null}], "text": "Social Security Number"}, "system": "http://hl7.org/fhir/sid/us-ssn", "value": "999-69-3793", "period": null, "assigner": null}]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |        | [{"id": null, "extension": null, "use": "official", "text": null, "family": "Volkman526", "given": [Luana867], "prefix": null, "suffix": null, "period": null}]                                                                                                                                                                                                                           | [{"id": null, "extension": null, "system": "phone", "value": "555-207-7879", "use": "home", "rank": null, "period": null}] | female | 2014-01-22 |                 |                  | [{"id": null, "extension": [{"url":"http://hl7.org/fhir/StructureDefinition/geolocation","extension":[{"url":"latitude","valueDecimal":41.66838505766839},{"url":"longitude","valueDecimal":-70.8618566603759}]}], "use": null, "type": null, "text": null, "line": [588 Berge Quay Suite 84], "city": "Fairhaven", "district": null, "state": "MA", "postalCode": null, "country": "US", "period": null}]               | {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "version": null, "code": "S", "display": "Never Married", "userSelected": null}], "text": "Never Married"} | false                |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [{"id": null, "extension": null, "modifierExtension": null, "language": {"id": null, "extension": null, "coding": [{"id": null, "extension": null, "system": "urn:ietf:bcp:47", "version": null, "code": "en-US", "display": "English", "userSelected": null}], "text": "English"}, "preferred": null}] |                     |                                                                                                                                                            |      |             |                  |                       |                      |
|              |                                      |                                                                                                                                                                                                      |               |          |  .   Person seed: 165098197321413909  Population seed: 960411</div>"}                                                                                                                  |           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                            |        |            |                 |                  |                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |                      |                      |       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                         |                     |                                                                                                                                                            |      |             |                  |                       |                      |
+--------------+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+--------+------------+-----------------+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+----------------------+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-------------+------------------+-----------------------+----------------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants