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",
    "meta": {
        "versionId": "534011718",
        "lastUpdated": "1900",
        "source": "http://hl7.org/fhir/reference",
        "profile":  [
            "http://not-so-random-yet"
        ],
        "security":  [
            {
                "system": "http://hl7.org/fhir/reference",
                "version": "Inventive Mouse",
                "display": "Fast Dog",
                "userSelected": "false"
            }
        ],
        "tag":  [
            {
                "system": "http://hl7.org/fhir/reference",
                "version": "Fantastic Zebra",
                "display": "Fantastic Dog",
                "userSelected": "false"
            }
        ]
    },
    "implicitRules": "http://hl7.org/fhir/reference",
    "identifier":  [
        {
            "use": "usual",
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Hilarious Elephant",
                        "display": "Energetic Dog",
                        "userSelected": "false"
                    }
                ],
                "text": "Energetic Dog"
            },
            "system": "http://www.acme.com/identifiers/patient",
            "value": "123456",
            "period": {
                "start": "1997-09-21",
                "end": "2014-08-02"
            }
        }
    ],
    "active": "false",
    "name":  [
        {
            "use": "usual",
            "text": "Slow Giraffe",
            "family": "Crazy Cat",
            "given":  [
                "Slow Cat"
            ],
            "prefix":  [
                "Hilarious Cat"
            ],
            "suffix":  [
                "Inventive Mouse"
            ],
            "period": {
                "start": "1997-07-21",
                "end": "1950-12-05"
            }
        }
    ],
    "telecom":  [
        {
            "system": "email",
            "value": "Inventive Zebra",
            "use": "temp",
            "rank": "1844137836",
            "period": {
                "start": "1954-04-02",
                "end": "1984-12-23"
            }
        }
    ],
    "gender": "female",
    "birthDate": "1969-12-17",
    "deceasedBoolean": "false",
    "address":  [
        {
            "use": "work",
            "type": "postal",
            "text": "137 Nowhere Street, Erewhon 9132",
            "line":  [
                "137 Nowhere Street"
            ],
            "city": "Erewhon",
            "district": "Madison",
            "state": "Energetic Zebra",
            "postalCode": "9132",
            "country": "Fast Elephant",
            "period": {
                "start": "1995-12-06",
                "end": "1996-01-24"
            }
        }
    ],
    "maritalStatus": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/reference",
                "version": "Crazy Mouse",
                "display": "Fast Elephant",
                "userSelected": "false"
            }
        ],
        "text": "Energetic Elephant"
    },
    "multipleBirthBoolean": "false",
    "photo":  [
        {
            "contentType": "text/plain; charset=UTF-8, image/png",
            "language": "en-AU",
            "url": "http://www.acme.com/logo-small.png",
            "title": "Official Corporate Logo",
            "creation": "1960-07-23",
            "height": "2039758977",
            "width": "182621155",
            "frames": "2090911250",
            "pages": "1048083132"
        }
    ],
    "contact":  [
        {
            "relationship":  [
                {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/reference",
                            "version": "Fantastic Dog",
                            "display": "Crazy Badger",
                            "userSelected": "false"
                        }
                    ],
                    "text": "Fast Elephant"
                }
            ],
            "name": {
                "use": "old",
                "text": "Hilarious Elephant",
                "family": "Inventive Zebra",
                "given":  [
                    "Fantastic Giraffe"
                ],
                "prefix":  [
                    "Fast Giraffe"
                ],
                "suffix":  [
                    "Slow Zebra"
                ],
                "period": {
                    "start": "2002-08-27",
                    "end": "2014-06-10"
                }
            },
            "telecom":  [
                {
                    "system": "phone",
                    "value": "Fast Badger",
                    "use": "temp",
                    "rank": "689146701",
                    "period": {
                        "start": "1954-04-07",
                        "end": "1981-12-06"
                    }
                }
            ],
            "address": {
                "use": "home",
                "type": "postal",
                "text": "137 Nowhere Street, Erewhon 9132",
                "line":  [
                    "137 Nowhere Street"
                ],
                "city": "Erewhon",
                "district": "Madison",
                "state": "Slow Elephant",
                "postalCode": "9132",
                "country": "Fantastic Elephant",
                "period": {
                    "start": "1992-01-21",
                    "end": "2006-11-21"
                }
            },
            "gender": "male",
            "organization": {
                "reference": "Inventive Cat",
                "type": "http://hl7.org/fhir/reference",
                "identifier": {
                    "use": "secondary",
                    "type": {
                        "coding":  [
                            {
                                "system": "http://hl7.org/fhir/reference",
                                "version": "Fantastic Badger",
                                "display": "Crazy Zebra",
                                "userSelected": "false"
                            }
                        ],
                        "text": "Slow Mouse"
                    },
                    "system": "http://www.acme.com/identifiers/patient",
                    "value": "123456",
                    "period": {
                        "start": "1958-04-29",
                        "end": "1958-08-13"
                    }
                },
                "display": "Fast Elephant"
            },
            "period": {
                "start": "1975-01-27",
                "end": "1987-11-25"
            }
        }
    ],
    "communication":  [
        {
            "language": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Fantastic Elephant",
                        "display": "Crazy Giraffe",
                        "userSelected": "false"
                    }
                ],
                "text": "Crazy Cat"
            },
            "preferred": "false"
        }
    ],
    "generalPractitioner":  [
        {
            "reference": "Hilarious Cat",
            "type": "http://hl7.org/fhir/reference",
            "identifier": {
                "use": "temp",
                "type": {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/reference",
                            "version": "Hilarious Elephant",
                            "display": "Inventive Dog",
                            "userSelected": "false"
                        }
                    ],
                    "text": "Fast Zebra"
                },
                "system": "http://www.acme.com/identifiers/patient",
                "value": "123456",
                "period": {
                    "start": "1996-10-14",
                    "end": "1960-12-20"
                }
            },
            "display": "Fantastic Badger"
        }
    ],
    "managingOrganization": {
        "reference": "Fantastic Badger",
        "type": "http://hl7.org/fhir/reference",
        "identifier": {
            "use": "temp",
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Crazy Elephant",
                        "display": "Hilarious Badger",
                        "userSelected": "false"
                    }
                ],
                "text": "Hilarious Cat"
            },
            "system": "http://www.acme.com/identifiers/patient",
            "value": "123456",
            "period": {
                "start": "1958-03-30",
                "end": "2007-07-11"
            }
        },
        "display": "Hilarious Dog"
    },
    "link":  [
        {
            "other": {
                "reference": "Slow Badger",
                "type": "http://hl7.org/fhir/reference",
                "identifier": {
                    "use": "usual",
                    "type": {
                        "coding":  [
                            {
                                "system": "http://hl7.org/fhir/reference",
                                "version": "Inventive Giraffe",
                                "display": "Fantastic Giraffe",
                                "userSelected": "false"
                            }
                        ],
                        "text": "Crazy Dog"
                    },
                    "system": "http://www.acme.com/identifiers/patient",
                    "value": "123456",
                    "period": {
                        "start": "1952-01-25",
                        "end": "1988-08-20"
                    }
                },
                "display": "Crazy Giraffe"
            },
            "type": "replaces"
        }
    ]
}
<Patient xmlns="http://hl7.org/fhir">
    <id value="gen1" />
    <meta>
        <versionId value="534011718" />
        <lastUpdated value="1900" />
        <source value="http://hl7.org/fhir/reference" />
        <profile value="http://not-so-random-yet" />
        <security>
            <system value="http://hl7.org/fhir/reference" />
            <version value="Inventive Mouse" />
            <display value="Fast Dog" />
            <userSelected value="false" />
        </security>
        <tag>
            <system value="http://hl7.org/fhir/reference" />
            <version value="Fantastic Zebra" />
            <display value="Fantastic Dog" />
            <userSelected value="false" />
        </tag>
    </meta>
    <implicitRules value="http://hl7.org/fhir/reference" />
    <identifier>
        <use value="usual" />
        <type>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Hilarious Elephant" />
                <display value="Energetic Dog" />
                <userSelected value="false" />
            </coding>
            <text value="Energetic Dog" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
            <start value="1997-09-21" />
            <end value="2014-08-02" />
        </period>
    </identifier>
    <active value="false" />
    <name>
        <use value="usual" />
        <text value="Slow Giraffe" />
        <family value="Crazy Cat" />
        <given value="Slow Cat" />
        <prefix value="Hilarious Cat" />
        <suffix value="Inventive Mouse" />
        <period>
            <start value="1997-07-21" />
            <end value="1950-12-05" />
        </period>
    </name>
    <telecom>
        <system value="email" />
        <value value="Inventive Zebra" />
        <use value="temp" />
        <rank value="1844137836" />
        <period>
            <start value="1954-04-02" />
            <end value="1984-12-23" />
        </period>
    </telecom>
    <gender value="female" />
    <birthDate value="1969-12-17" />
    <deceasedBoolean value="false" />
    <address>
        <use value="work" />
        <type value="postal" />
        <text value="137 Nowhere Street, Erewhon 9132" />
        <line value="137 Nowhere Street" />
        <city value="Erewhon" />
        <district value="Madison" />
        <state value="Energetic Zebra" />
        <postalCode value="9132" />
        <country value="Fast Elephant" />
        <period>
            <start value="1995-12-06" />
            <end value="1996-01-24" />
        </period>
    </address>
    <maritalStatus>
        <coding>
            <system value="http://hl7.org/fhir/reference" />
            <version value="Crazy Mouse" />
            <display value="Fast Elephant" />
            <userSelected value="false" />
        </coding>
        <text value="Energetic Elephant" />
    </maritalStatus>
    <multipleBirthBoolean value="false" />
    <photo>
        <contentType value="text/plain; charset=UTF-8, image/png" />
        <language value="en-AU" />
        <url value="http://www.acme.com/logo-small.png" />
        <title value="Official Corporate Logo" />
        <creation value="1960-07-23" />
        <height value="2039758977" />
        <width value="182621155" />
        <frames value="2090911250" />
        <pages value="1048083132" />
    </photo>
    <contact>
        <relationship>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Fantastic Dog" />
                <display value="Crazy Badger" />
                <userSelected value="false" />
            </coding>
            <text value="Fast Elephant" />
        </relationship>
        <name>
            <use value="old" />
            <text value="Hilarious Elephant" />
            <family value="Inventive Zebra" />
            <given value="Fantastic Giraffe" />
            <prefix value="Fast Giraffe" />
            <suffix value="Slow Zebra" />
            <period>
                <start value="2002-08-27" />
                <end value="2014-06-10" />
            </period>
        </name>
        <telecom>
            <system value="phone" />
            <value value="Fast Badger" />
            <use value="temp" />
            <rank value="689146701" />
            <period>
                <start value="1954-04-07" />
                <end value="1981-12-06" />
            </period>
        </telecom>
        <address>
            <use value="home" />
            <type value="postal" />
            <text value="137 Nowhere Street, Erewhon 9132" />
            <line value="137 Nowhere Street" />
            <city value="Erewhon" />
            <district value="Madison" />
            <state value="Slow Elephant" />
            <postalCode value="9132" />
            <country value="Fantastic Elephant" />
            <period>
                <start value="1992-01-21" />
                <end value="2006-11-21" />
            </period>
        </address>
        <gender value="male" />
        <organization>
            <reference value="Inventive Cat" />
            <type value="http://hl7.org/fhir/reference" />
            <identifier>
                <use value="secondary" />
                <type>
                    <coding>
                        <system value="http://hl7.org/fhir/reference" />
                        <version value="Fantastic Badger" />
                        <display value="Crazy Zebra" />
                        <userSelected value="false" />
                    </coding>
                    <text value="Slow Mouse" />
                </type>
                <system value="http://www.acme.com/identifiers/patient" />
                <value value="123456" />
                <period>
                    <start value="1958-04-29" />
                    <end value="1958-08-13" />
                </period>
            </identifier>
            <display value="Fast Elephant" />
        </organization>
        <period>
            <start value="1975-01-27" />
            <end value="1987-11-25" />
        </period>
    </contact>
    <communication>
        <language>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Fantastic Elephant" />
                <display value="Crazy Giraffe" />
                <userSelected value="false" />
            </coding>
            <text value="Crazy Cat" />
        </language>
        <preferred value="false" />
    </communication>
    <generalPractitioner>
        <reference value="Hilarious Cat" />
        <type value="http://hl7.org/fhir/reference" />
        <identifier>
            <use value="temp" />
            <type>
                <coding>
                    <system value="http://hl7.org/fhir/reference" />
                    <version value="Hilarious Elephant" />
                    <display value="Inventive Dog" />
                    <userSelected value="false" />
                </coding>
                <text value="Fast Zebra" />
            </type>
            <system value="http://www.acme.com/identifiers/patient" />
            <value value="123456" />
            <period>
                <start value="1996-10-14" />
                <end value="1960-12-20" />
            </period>
        </identifier>
        <display value="Fantastic Badger" />
    </generalPractitioner>
    <managingOrganization>
        <reference value="Fantastic Badger" />
        <type value="http://hl7.org/fhir/reference" />
        <identifier>
            <use value="temp" />
            <type>
                <coding>
                    <system value="http://hl7.org/fhir/reference" />
                    <version value="Crazy Elephant" />
                    <display value="Hilarious Badger" />
                    <userSelected value="false" />
                </coding>
                <text value="Hilarious Cat" />
            </type>
            <system value="http://www.acme.com/identifiers/patient" />
            <value value="123456" />
            <period>
                <start value="1958-03-30" />
                <end value="2007-07-11" />
            </period>
        </identifier>
        <display value="Hilarious Dog" />
    </managingOrganization>
    <link>
        <other>
            <reference value="Slow Badger" />
            <type value="http://hl7.org/fhir/reference" />
            <identifier>
                <use value="usual" />
                <type>
                    <coding>
                        <system value="http://hl7.org/fhir/reference" />
                        <version value="Inventive Giraffe" />
                        <display value="Fantastic Giraffe" />
                        <userSelected value="false" />
                    </coding>
                    <text value="Crazy Dog" />
                </type>
                <system value="http://www.acme.com/identifiers/patient" />
                <value value="123456" />
                <period>
                    <start value="1952-01-25" />
                    <end value="1988-08-20" />
                </period>
            </identifier>
            <display value="Crazy Giraffe" />
        </other>
        <type value="replaces" />
    </link>
</Patient>