YamlGen
  • Scope hl7.fhir.r5.core@5.0.0
  • Readonly
  • readonly

If you Log in or sign up, you can edit this script yourself.

  • beta
Patient
{
    "resourceType": "Patient",
    "id": "gen1",
    "implicitRules": "http://hl7.org/fhir/reference",
    "identifier":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Fantastic Giraffe",
                        "display": "Inventive Mouse",
                        "userSelected": false
                    }
                ],
                "text": "Slow Mouse"
            },
            "system": "http://www.acme.com/identifiers/patient",
            "value": "123456",
            "period": {
                "start": "2014-03-08",
                "end": "1956-11-20"
            }
        }
    ],
    "active": false,
    "name":  [
        {
            "text": "Crazy Badger",
            "family": "Hilarious Elephant",
            "given":  [
                "Energetic Dog"
            ],
            "prefix":  [
                "Energetic Giraffe"
            ],
            "suffix":  [
                "Energetic Dog"
            ],
            "period": {
                "start": "2014-08-02",
                "end": "1956-05-08"
            }
        }
    ],
    "telecom":  [
        {
            "value": "Slow Giraffe",
            "rank": 1713579631,
            "period": {
                "start": "1961-07-11",
                "end": "2003-12-24"
            }
        }
    ],
    "deceasedBoolean": false,
    "address":  [
        {
            "text": "137 Nowhere Street, Erewhon 9132",
            "line":  [
                "137 Nowhere Street"
            ],
            "city": "Erewhon",
            "district": "Madison",
            "state": "Hilarious Cat",
            "postalCode": "9132",
            "country": "Inventive Mouse",
            "period": {
                "start": "1997-07-21",
                "end": "1950-12-05"
            }
        }
    ],
    "maritalStatus": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/reference",
                "version": "Inventive Zebra",
                "display": "Fantastic Zebra",
                "userSelected": false
            }
        ],
        "text": "Crazy Mouse"
    },
    "multipleBirthBoolean": false,
    "photo":  [
        {
            "title": "Official Corporate Logo",
            "creation": "1996-12-29",
            "height": 830250430,
            "width": 932725007,
            "frames": 1450422331,
            "pages": 1454666067
        }
    ],
    "contact":  [
        {
            "relationship":  [
                {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/reference",
                            "version": "Crazy Mouse",
                            "display": "Fast Elephant",
                            "userSelected": false
                        }
                    ],
                    "text": "Energetic Elephant"
                }
            ],
            "name": {
                "text": "Crazy Elephant",
                "family": "Fantastic Zebra",
                "given":  [
                    "Fast Zebra"
                ],
                "prefix":  [
                    "Fantastic Dog"
                ],
                "suffix":  [
                    "Crazy Badger"
                ],
                "period": {
                    "start": "1955-11-10",
                    "end": "1971-03-18"
                }
            },
            "telecom":  [
                {
                    "value": "Slow Mouse",
                    "rank": 2142954714,
                    "period": {
                        "start": "2009-07-22",
                        "end": "2004-02-20"
                    }
                }
            ],
            "address": {
                "text": "137 Nowhere Street, Erewhon 9132",
                "line":  [
                    "137 Nowhere Street"
                ],
                "city": "Erewhon",
                "district": "Madison",
                "state": "Fantastic Giraffe",
                "postalCode": "9132",
                "country": "Fast Giraffe",
                "period": {
                    "start": "2015-01-03",
                    "end": "1977-05-10"
                }
            },
            "organization": {
                "reference": "Hilarious Cat",
                "type": "http://hl7.org/fhir/reference",
                "identifier": {
                    "type": {
                        "text": "Fast Badger"
                    },
                    "system": "http://www.acme.com/identifiers/patient",
                    "value": "123456",
                    "period": {
                        "start": "1971-10-28",
                        "end": "1954-04-07"
                    }
                },
                "display": "Slow Mouse"
            },
            "period": {
                "start": "1976-04-22",
                "end": "1975-03-04"
            }
        }
    ],
    "communication":  [
        {
            "language": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Energetic Badger",
                        "display": "Inventive Cat",
                        "userSelected": false
                    }
                ],
                "text": "Fantastic Badger"
            },
            "preferred": false
        }
    ],
    "generalPractitioner":  [
        {
            "reference": "Hilarious Giraffe",
            "type": "http://hl7.org/fhir/reference",
            "identifier": {
                "type": {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/reference",
                            "version": "Slow Mouse",
                            "display": "Fantastic Badger",
                            "userSelected": false
                        }
                    ],
                    "text": "Slow Mouse"
                },
                "system": "http://www.acme.com/identifiers/patient",
                "value": "123456",
                "period": {
                    "start": "1987-11-25",
                    "end": "1970-10-23"
                }
            },
            "display": "Crazy Badger"
        }
    ],
    "managingOrganization": {
        "reference": "Fast Giraffe",
        "type": "http://hl7.org/fhir/reference",
        "identifier": {
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Crazy Cat",
                        "display": "Inventive Badger",
                        "userSelected": false
                    }
                ],
                "text": "Hilarious Elephant"
            },
            "system": "http://www.acme.com/identifiers/patient",
            "value": "123456",
            "period": {
                "start": "1994-04-16",
                "end": "2008-02-11"
            }
        },
        "display": "Hilarious Dog"
    },
    "link":  [
        {
            "other": {
                "reference": "Energetic Mouse",
                "type": "http://hl7.org/fhir/reference",
                "identifier": {
                    "type": {
                        "text": "Fantastic Giraffe"
                    },
                    "system": "http://www.acme.com/identifiers/patient",
                    "value": "123456",
                    "period": {
                        "start": "1951-07-12",
                        "end": "1958-12-08"
                    }
                },
                "display": "Slow Badger"
            }
        }
    ]
}
<Patient xmlns="http://hl7.org/fhir">
    <id value="gen1" />
    <implicitRules value="http://hl7.org/fhir/reference" />
    <identifier>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Fantastic Giraffe" />
                <display value="Inventive Mouse" />
                <userSelected value="false" />
            </coding>
            <text value="Slow Mouse" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
            <start value="2014-03-08" />
            <end value="1956-11-20" />
        </period>
    </identifier>
    <active value="false" />
    <name>
        <text value="Crazy Badger" />
        <family value="Hilarious Elephant" />
        <given value="Energetic Dog" />
        <prefix value="Energetic Giraffe" />
        <suffix value="Energetic Dog" />
        <period>
            <start value="2014-08-02" />
            <end value="1956-05-08" />
        </period>
    </name>
    <telecom>
        <value value="Slow Giraffe" />
        <rank value="1713579631" />
        <period>
            <start value="1961-07-11" />
            <end value="2003-12-24" />
        </period>
    </telecom>
    <deceasedBoolean value="false" />
    <address>
        <text value="137 Nowhere Street, Erewhon 9132" />
        <line value="137 Nowhere Street" />
        <city value="Erewhon" />
        <district value="Madison" />
        <state value="Hilarious Cat" />
        <postalCode value="9132" />
        <country value="Inventive Mouse" />
        <period>
            <start value="1997-07-21" />
            <end value="1950-12-05" />
        </period>
    </address>
    <maritalStatus>
        <coding>
            <system value="http://hl7.org/fhir/reference" />
            <version value="Inventive Zebra" />
            <display value="Fantastic Zebra" />
            <userSelected value="false" />
        </coding>
        <text value="Crazy Mouse" />
    </maritalStatus>
    <multipleBirthBoolean value="false" />
    <photo>
        <title value="Official Corporate Logo" />
        <creation value="1996-12-29" />
        <height value="830250430" />
        <width value="932725007" />
        <frames value="1450422331" />
        <pages value="1454666067" />
    </photo>
    <contact>
        <relationship>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Crazy Mouse" />
                <display value="Fast Elephant" />
                <userSelected value="false" />
            </coding>
            <text value="Energetic Elephant" />
        </relationship>
        <name>
            <text value="Crazy Elephant" />
            <family value="Fantastic Zebra" />
            <given value="Fast Zebra" />
            <prefix value="Fantastic Dog" />
            <suffix value="Crazy Badger" />
            <period>
                <start value="1955-11-10" />
                <end value="1971-03-18" />
            </period>
        </name>
        <telecom>
            <value value="Slow Mouse" />
            <rank value="2142954714" />
            <period>
                <start value="2009-07-22" />
                <end value="2004-02-20" />
            </period>
        </telecom>
        <address>
            <text value="137 Nowhere Street, Erewhon 9132" />
            <line value="137 Nowhere Street" />
            <city value="Erewhon" />
            <district value="Madison" />
            <state value="Fantastic Giraffe" />
            <postalCode value="9132" />
            <country value="Fast Giraffe" />
            <period>
                <start value="2015-01-03" />
                <end value="1977-05-10" />
            </period>
        </address>
        <organization>
            <reference value="Hilarious Cat" />
            <type value="http://hl7.org/fhir/reference" />
            <identifier>
                <type>
                    <text value="Fast Badger" />
                </type>
                <system value="http://www.acme.com/identifiers/patient" />
                <value value="123456" />
                <period>
                    <start value="1971-10-28" />
                    <end value="1954-04-07" />
                </period>
            </identifier>
            <display value="Slow Mouse" />
        </organization>
        <period>
            <start value="1976-04-22" />
            <end value="1975-03-04" />
        </period>
    </contact>
    <communication>
        <language>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Energetic Badger" />
                <display value="Inventive Cat" />
                <userSelected value="false" />
            </coding>
            <text value="Fantastic Badger" />
        </language>
        <preferred value="false" />
    </communication>
    <generalPractitioner>
        <reference value="Hilarious Giraffe" />
        <type value="http://hl7.org/fhir/reference" />
        <identifier>
            <type>
                <coding>
                    <system value="http://hl7.org/fhir/reference" />
                    <version value="Slow Mouse" />
                    <display value="Fantastic Badger" />
                    <userSelected value="false" />
                </coding>
                <text value="Slow Mouse" />
            </type>
            <system value="http://www.acme.com/identifiers/patient" />
            <value value="123456" />
            <period>
                <start value="1987-11-25" />
                <end value="1970-10-23" />
            </period>
        </identifier>
        <display value="Crazy Badger" />
    </generalPractitioner>
    <managingOrganization>
        <reference value="Fast Giraffe" />
        <type value="http://hl7.org/fhir/reference" />
        <identifier>
            <type>
                <coding>
                    <system value="http://hl7.org/fhir/reference" />
                    <version value="Crazy Cat" />
                    <display value="Inventive Badger" />
                    <userSelected value="false" />
                </coding>
                <text value="Hilarious Elephant" />
            </type>
            <system value="http://www.acme.com/identifiers/patient" />
            <value value="123456" />
            <period>
                <start value="1994-04-16" />
                <end value="2008-02-11" />
            </period>
        </identifier>
        <display value="Hilarious Dog" />
    </managingOrganization>
    <link>
        <other>
            <reference value="Energetic Mouse" />
            <type value="http://hl7.org/fhir/reference" />
            <identifier>
                <type>
                    <text value="Fantastic Giraffe" />
                </type>
                <system value="http://www.acme.com/identifiers/patient" />
                <value value="123456" />
                <period>
                    <start value="1951-07-12" />
                    <end value="1958-12-08" />
                </period>
            </identifier>
            <display value="Slow Badger" />
        </other>
    </link>
</Patient>