Obligations (Patient Profile)
{
"resourceType": "StructureDefinition",
"id": "patient-obligationtest2",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [
{
"url": "code",
"valueCode": "can-send"
},
{
"url": "elementId",
"valueString": "birthDate"
},
{
"url": "actor",
"valueCanonical": "http://example.org/fhir/ActorDefinition/server"
}
]
}
],
"url": "http://example.org/fhir/StructureDefinition/patient-obligationtest2",
"name": "PatientObligationTest2",
"title": "Patient (Obligation Test2)",
"status": "draft",
"experimental": true,
"description": "This profile tests the shift to the new obligation extension housed at https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-obligation.html",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Patient",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Patient.name",
"path": "Patient.name",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [
{
"url": "code",
"valueCode": "can-send"
},
{
"url": "actor",
"valueCanonical": "http://example.org/fhir/ActorDefinition/server"
}
]
}
],
"min": 1
},
{
"id": "Patient.name.text",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [
{
"url": "code",
"valueCode": "can-send"
},
{
"url": "actor",
"valueCanonical": "http://example.org/fhir/ActorDefinition/server"
}
]
}
],
"path": "Patient.name.text",
"definition": "Text representation of the full name. Due to the cultural variance around the world a consuming system may not know how to present the name correctly; moreover not all the parts of the name go in given or family. Creators are therefore strongly encouraged to provide through this element a presented version of the name. Future versions of this guide may require this element"
},
{
"id": "Patient.name.family",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [
{
"url": "code",
"valueCode": "can-send"
},
{
"url": "actor",
"valueCanonical": "http://example.org/fhir/ActorDefinition/server"
}
]
},
{
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [
{
"url": "code",
"valueCode": "will-send"
},
{
"url": "actor",
"valueCanonical": "http://example.org/fhir/ActorDefinition/server"
}
]
}
],
"path": "Patient.name.family"
},
{
"id": "Patient.name.given",
"path": "Patient.name.given",
"mustSupport": true
},
{
"id": "Patient.telecom",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [
{
"url": "code",
"valueCode": "can-send"
},
{
"url": "actor",
"valueCanonical": "http://example.org/fhir/ActorDefinition/server"
}
]
}
],
"path": "Patient.telecom"
},
{
"id": "Patient.gender",
"path": "Patient.gender",
"min": 1,
"mustSupport": true
},
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"min": 1,
"mustSupport": true
}
]
}
}