LabPatient

Introduction

Formal url http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient
Version 1.0.0
Published by Example, someone@somewhere.org
Status active (since 2019-06-08)

This Structure Definition defines the required elements and constraints on the Patient resource. DevDaysIGtutorial-Patient refers to this StructureDefinition. Example text....

StructureDefinition LabPatient

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
activeΣ ?!0..0boolean
id0..1string
extensionI0..*Extension
useΣ ?!0..0codeBinding
textS Σ0..1string
familyS Σ1..1string
givenS Σ0..1string
prefixΣ0..0string
suffixΣ0..0string
periodΣ I0..0Period
telecomΣ I0..0ContactPoint
genderS Σ0..1codeBinding
birthDateS Σ1..1date
addressΣ0..0Address
maritalStatus0..0CodeableConceptBinding
photoI0..0Attachment
generalPractitionerI0..0Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ I0..0Reference(Organization)

Valid example

File: Valid: Pietje Puk

<Patient xmlns="http://hl7.org/fhir">
    <id value="example-valid-labpatient-01" />
    <meta>
        <profile value="http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient" />
    </meta>
    <identifier>
        <system value="https://devdays-example-ig.com/NamingSystem/labPatientIdentifier" />
        <value value="1142dd8e-494d-4a01-823c-047b8bdb35c8" />
    </identifier>
    <name>
        <text value="Mr. Pietje Puk" />
        <family value="Puk" />
        <given value="Pietje" />
    </name>
    <gender value="male" />
    <birthDate value="1981-08-20" />
</Patient>
{
    "resourceType": "Patient",
    "id": "example-valid-labpatient-01",
    "meta": {
        "profile":  [
            "http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient"
        ]
    },
    "identifier":  [
        {
            "system": "https://devdays-example-ig.com/NamingSystem/labPatientIdentifier",
            "value": "1142dd8e-494d-4a01-823c-047b8bdb35c8"
        }
    ],
    "name":  [
        {
            "text": "Mr. Pietje Puk",
            "family": "Puk",
            "given":  [
                "Pietje"
            ]
        }
    ],
    "gender": "male",
    "birthDate": "1981-08-20"
}

LabPatient invalid example

Invalid: Pietje Puk

<Patient xmlns="http://hl7.org/fhir">
    <id value="example-invalid-labpatient-01" />
    <meta>
        <profile value="http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient" />
    </meta>
    <identifier>
        <!--  Missing system  -->
        <value value="1142dd8e-494d-4a01-823c-047b8bdb35c8" />
    </identifier>
    <!--  incorrect active element -->
    <active value="true" />
    <name>
        <text value="Mr. Pietje Puk" />
        <family value="Puk" />
        <given value="Pietje" />
    </name>
    <gender value="male" />
    <birthDate value="1981-08-20" />
</Patient>
{
    "resourceType": "Patient",
    "id": "example-invalid-labpatient-01",
    "meta": {
        "profile":  [
            "http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient"
        ]
    },
    "identifier":  [
        {
            "value": "1142dd8e-494d-4a01-823c-047b8bdb35c8"
        }
    ],
    "active": true,
    "name":  [
        {
            "text": "Mr. Pietje Puk",
            "family": "Puk",
            "given":  [
                "Pietje"
            ]
        }
    ],
    "gender": "male",
    "birthDate": "1981-08-20"
}