Example
ResearchSubject/example
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Placeholder
Basic
example
showing
use
of
Progress
@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 -------------------------------------------------------------------
<http://hl7.org/fhir/ResearchSubject/example> a fhir:ResearchSubject;
[a fhir:ResearchSubject;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"];
fhir:Resource.id [ fhir:value "example"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"
];
]; #
fhir:ResearchSubject.identifier [
fhir:index 0;
fhir:Identifier.type [
fhir:CodeableConcept.text [ fhir:value "Subject id" ]
];
fhir:Identifier.system [ fhir:value "http://example.org/studysubjectids" ];
fhir:Identifier.value [ fhir:value "123" ]
];
fhir:ResearchSubject.status [ fhir:value "candidate"];
]; #
fhir:ResearchSubject.status [ fhir:value "active"]; #
fhir:ResearchSubject.progress [
fhir:index 0;
fhir:ResearchSubject.progress.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "state" ]
]
];
fhir:ResearchSubject.progress.subjectState [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/research-subject-state" ];
fhir:Coding.code [ fhir:value "on-study" ]
]
];
fhir:ResearchSubject.progress.startDate [ fhir:value "2019-06-10"^^xsd:date ]
], [
fhir:index 1;
fhir:ResearchSubject.progress.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "milestone" ]
]
];
fhir:ResearchSubject.progress.milestone [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "SignedUp" ]
]
];
fhir:ResearchSubject.progress.startDate [ fhir:value "2019-06-06"^^xsd:date ]
], [
fhir:index 2;
fhir:ResearchSubject.progress.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "milestone" ]
]
];
fhir:ResearchSubject.progress.milestone [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "Randomized" ]
]
];
fhir:ResearchSubject.progress.startDate [ fhir:value "2019-06-10"^^xsd:date ]
]; #
fhir:ResearchSubject.study [
fhir:link <http://hl7.org/fhir/ResearchStudy/example>;
fhir:Reference.reference [ fhir:value "ResearchStudy/example" ]
];
fhir:ResearchSubject.individual [
fhir:link <http://hl7.org/fhir/Patient/example>;
]; #
fhir:ResearchSubject.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ]
] .
<http://hl7.org/fhir/ResearchStudy/example> a fhir:ResearchStudy .
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
]] . #
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/ResearchSubject/example.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/ResearchSubject/example.ttl> .
[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.