{"abstract":false,"baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","context":["Patient"],"contextType":"resource","date":"2016-08-11T17:02:54+10:00","derivation":"constraint","description":"The clinical trials this patient has or is participating in.","differential":{"element":[{"definition":"The clinical trials this patient has or is participating in.","id":"Extension:thepatient'sparticipationinclinicaltrials","max":"*","min":0,"path":"Extension","short":"The patient's participation in clinical trials"},{"definition":"The National Clinical Trial number. The format for the US ClinicalTrials.gov registry number is \"NCT\" followed by an 8-digit number, e.g.: NCT00000419.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct","max":"1","min":1,"name":"NCT","path":"Extension.extension","short":"National Clinical Trial number","type":[{"code":"Extension"}]},{"id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct.extension:extension","max":"0","name":"extension","path":"Extension.extension.extension"},{"fixedUri":"NCT","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct.url","path":"Extension.extension.url","type":[{"code":"uri"}]},{"id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct.value[x]","min":1,"path":"Extension.extension.value[x]","type":[{"code":"string"}]},{"definition":"The start and end times of the participation of this patient in the clinical trial.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period","max":"1","min":0,"name":"period","path":"Extension.extension","short":"The period of participation in the clinical trial","type":[{"code":"Extension"}]},{"id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period.extension:extension","max":"0","name":"extension","path":"Extension.extension.extension"},{"fixedUri":"period","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period.url","path":"Extension.extension.url","type":[{"code":"uri"}]},{"id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period.value[x]","min":1,"path":"Extension.extension.value[x]","type":[{"code":"Period"}]},{"definition":"The indication or reason the patient is part of this trial.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason","max":"1","min":0,"name":"reason","path":"Extension.extension","short":"The reason for participation in the clinical trial","type":[{"code":"Extension"}]},{"id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason.extension:extension","max":"0","name":"extension","path":"Extension.extension.extension"},{"fixedUri":"reason","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason.url","path":"Extension.extension.url","type":[{"code":"uri"}]},{"id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason.value[x]","min":1,"path":"Extension.extension.value[x]","type":[{"code":"CodeableConcept"}]},{"fixedUri":"http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial","id":"Extension:thepatient'sparticipationinclinicaltrials.url","path":"Extension.url","type":[{"code":"uri"}]},{"id":"Extension:thepatient'sparticipationinclinicaltrials.value[x]","max":"0","min":0,"path":"Extension.value[x]"}]},"display":"clinicalTrial","fhirVersion":"1.6.0","id":"patient-clinicalTrial","kind":"complex-type","mapping":[{"identity":"rim","name":"RIM Mapping","uri":"http://hl7.org/v3"}],"name":"The patient's participation in clinical trials","publisher":"HL7","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"Extension"},"condition":["ele-1"],"constraint":[{"expression":"children().count() > id.count()","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","xpath":"@value|f:*|h:div"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"}],"definition":"The clinical trials this patient has or is participating in.","id":"Extension:thepatient'sparticipationinclinicaltrials","max":"*","min":0,"path":"Extension","short":"The patient's participation in clinical trials"},{"base":{"max":"*","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension:thepatient'sparticipationinclinicaltrials.id","mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"An Extension","id":"Extension:thepatient'sparticipationinclinicaltrials.extension","max":"*","min":0,"path":"Extension.extension","short":"Extension","slicing":{"discriminator":["url"],"id":"72","ordered":false,"rules":"open"},"type":[{"code":"Extension"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"The National Clinical Trial number. The format for the US ClinicalTrials.gov registry number is \"NCT\" followed by an 8-digit number, e.g.: NCT00000419.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct","max":"1","min":1,"name":"NCT","path":"Extension.extension","short":"National Clinical Trial number","type":[{"code":"Extension"}]},{"base":{"max":"*","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct.id","mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"An Extension","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct.extension:extension","max":"0","min":0,"name":"extension","path":"Extension.extension.extension","short":"Extension","type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comments":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"NCT","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct.url","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"uri"}]},{"base":{"max":"1","min":0,"path":"Extension.value[x]"},"definition":"Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:nct.valueString","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.extension.valueString","short":"Value of extension","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"The start and end times of the participation of this patient in the clinical trial.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period","max":"1","min":0,"name":"period","path":"Extension.extension","short":"The period of participation in the clinical trial","type":[{"code":"Extension"}]},{"base":{"max":"*","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period.id","mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"An Extension","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period.extension:extension","max":"0","min":0,"name":"extension","path":"Extension.extension.extension","short":"Extension","type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comments":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"period","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period.url","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"uri"}]},{"base":{"max":"1","min":0,"path":"Extension.value[x]"},"definition":"Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:period.valuePeriod","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.extension.valuePeriod","short":"Value of extension","type":[{"code":"Period"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"The indication or reason the patient is part of this trial.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason","max":"1","min":0,"name":"reason","path":"Extension.extension","short":"The reason for participation in the clinical trial","type":[{"code":"Extension"}]},{"base":{"max":"*","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason.id","mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"An Extension","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason.extension:extension","max":"0","min":0,"name":"extension","path":"Extension.extension.extension","short":"Extension","type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comments":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"reason","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason.url","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"uri"}]},{"base":{"max":"1","min":0,"path":"Extension.value[x]"},"definition":"Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).","id":"Extension:thepatient'sparticipationinclinicaltrials.extension:reason.valueCodeableConcept","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.extension.valueCodeableConcept","short":"Value of extension","type":[{"code":"CodeableConcept"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comments":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial","id":"Extension:thepatient'sparticipationinclinicaltrials.url","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"uri"}]},{"base":{"max":"1","min":0,"path":"Extension.value[x]"},"definition":"Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).","id":"Extension:thepatient'sparticipationinclinicaltrials.value[x]","mapping":[{"identity":"rim","map":"N/A"}],"max":"0","min":0,"path":"Extension.value[x]","short":"Value of extension","type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"Meta"}]}]},"status":"draft","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial"}