Example
RelatedPerson/f002
(Turtle)
Raw
Raw
Turtle
(+
also
see
JSON
Turtle/RDF
Format
Specification
)
Operation
Definition
Ariadne
Bor-Jansma
{
"resourceType" : "OperationDefinition",
"id" : "StructureDefinition-snapshot",
"text" : {
"status" : "generated",
"div" : "<div>!-- Snipped for Brevity --></div>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 5
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/OperationDefinition/StructureDefinition-snapshot",
"version" : "4.0.1",
"name" : "Generate Snapshot",
"status" : "draft",
"kind" : "operation",
"date" : "2019-11-01T09:29:23+11:00",
"publisher" : "HL7 (FHIR Project)",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
},
{
"system" : "email",
"value" : "fhir@lists.hl7.org"
}]
}],
"description" : "Generates a [StructureDefinition](structuredefinition.html) instance with a snapshot, based on a differential in a specified [StructureDefinition](structuredefinition.html). \n\nIf the operation is not called at the instance level, either *definition* or *url* 'in' parameters must be provided. If more than one is specified, servers may raise an error or may resolve with the parameter of their choice. If called at the instance level, these parameters will be ignored.",
"code" : "snapshot",
"resource" : ["StructureDefinition"],
"system" : false,
"type" : true,
"instance" : true,
"parameter" : [{
"name" : "definition",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "The [StructureDefinition](structuredefinition.html) is provided directly as part of the request. Servers may choose not to accept profiles in this fashion",
"type" : "StructureDefinition"
},
{
"name" : "url",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "The StructureDefinition's canonical URL (i.e. 'StructureDefinition.url'). The server must know the structure definition, or be able to retrieve it from other known repositories.",
"type" : "string",
"searchType" : "token"
},
{
"name" : "return",
"use" : "out",
"min" : 1,
"max" : "1",
"documentation" : "The structure definition with a snapshot",
"type" : "StructureDefinition"
}]
}
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:RelatedPerson;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "f002"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n Ariadne Bor-Jansma\n </div>"
]; #
fhir:RelatedPerson.patient [
fhir:Reference.reference [ fhir:value "Patient/f201" ]
]; #
fhir:RelatedPerson.relationship [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
fhir:Coding.code [ fhir:value "SIGOTHR" ]
]
]; #
fhir:RelatedPerson.name [
fhir:index 0;
fhir:HumanName.use [ fhir:value "usual" ]; # The name of the contact
fhir:HumanName.text [ fhir:value "Ariadne Bor-Jansma" ]
]; #
fhir:RelatedPerson.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "phone" ]; # The home contact detail
fhir:ContactPoint.value [ fhir:value "+31201234567" ];
fhir:ContactPoint.use [ fhir:value "home" ]
]; #
fhir:RelatedPerson.gender [ fhir:value "female"]; #
fhir:RelatedPerson.birthDate [ fhir:value "1963"^^xsd:gYear]; #
fhir:RelatedPerson.photo [
fhir:index 0;
fhir:Attachment.contentType [ fhir:value "image/jpeg" ]; # http:\/\/lighteningthief.wikispaces.com\/demeter
fhir:Attachment.data [ fhir:value "/9j/4AAQSkZJRgABAQEAlgCWAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjI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++pUrx9ny+r/ANl/yKY8Vy2eefOsF4B+dSpTDn2dH0d2OlwksTx61KlSgJX2f//Z"^^xsd:base64Binary ] # Suggest changing this to be the URL based photo attachment instead.
]; #
fhir:RelatedPerson.period [
fhir:Period.start [ fhir:value "1975"^^xsd:gYear ]
]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
a
normative
part
of
the
specification.