{"resourceType":"StructureDefinition","id":"cycle-log-device","url":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-device","version":"0.1.0","name":"CycleLogDevice","title":"Source app","status":"draft","experimental":true,"description":"The app or device the data came from: one user-friendly name and an optional version. Closed: every element not listed is max 0. Generated from the cycle-log model (codecs/cycle-log/profiles/make-profiles.ts).","fhirVersion":"4.0.1","kind":"resource","abstract":false,"type":"Device","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Device","derivation":"constraint","differential":{"element":[{"id":"Device","path":"Device","constraint":[{"key":"cy-name-text","severity":"error","human":"Names and the source app's name and version have no leading or trailing whitespace and no control characters (lengths are maxLength).","expression":"(name.family | name.given | deviceName.name | version.value).all(matches('^[^\\\\s\\\\u00a0\\\\u1680\\\\u2000-\\\\u200a\\\\u2028\\\\u2029\\\\u202f\\\\u205f\\\\u3000\\\\ufeff\\\\x00-\\\\x1f\\\\x7f]([^\\\\x00-\\\\x1f\\\\x7f]{0,998}[^\\\\s\\\\u00a0\\\\u1680\\\\u2000-\\\\u200a\\\\u2028\\\\u2029\\\\u202f\\\\u205f\\\\u3000\\\\ufeff\\\\x00-\\\\x1f\\\\x7f])?$'))","source":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-device"}]},{"id":"Device.meta.id","path":"Device.meta.id","max":"0"},{"id":"Device.meta.extension","path":"Device.meta.extension","max":"0"},{"id":"Device.meta.versionId","path":"Device.meta.versionId","max":"0"},{"id":"Device.meta.lastUpdated","path":"Device.meta.lastUpdated","max":"0"},{"id":"Device.meta.source","path":"Device.meta.source","max":"0"},{"id":"Device.meta.profile","path":"Device.meta.profile","min":1,"max":"1","fixedCanonical":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-device"},{"id":"Device.meta.profile.id","path":"Device.meta.profile.id","max":"0"},{"id":"Device.meta.profile.extension","path":"Device.meta.profile.extension","max":"0"},{"id":"Device.meta.security","path":"Device.meta.security","max":"0"},{"id":"Device.meta.tag","path":"Device.meta.tag","max":"0"},{"id":"Device.implicitRules","path":"Device.implicitRules","max":"0"},{"id":"Device.language","path":"Device.language","max":"0"},{"id":"Device.text","path":"Device.text","max":"0"},{"id":"Device.contained","path":"Device.contained","max":"0"},{"id":"Device.extension","path":"Device.extension","max":"0"},{"id":"Device.modifierExtension","path":"Device.modifierExtension","max":"0"},{"id":"Device.identifier","path":"Device.identifier","max":"0"},{"id":"Device.definition","path":"Device.definition","max":"0"},{"id":"Device.udiCarrier","path":"Device.udiCarrier","max":"0"},{"id":"Device.status","path":"Device.status","max":"0"},{"id":"Device.statusReason","path":"Device.statusReason","max":"0"},{"id":"Device.distinctIdentifier","path":"Device.distinctIdentifier","max":"0"},{"id":"Device.manufacturer","path":"Device.manufacturer","max":"0"},{"id":"Device.manufactureDate","path":"Device.manufactureDate","max":"0"},{"id":"Device.expirationDate","path":"Device.expirationDate","max":"0"},{"id":"Device.lotNumber","path":"Device.lotNumber","max":"0"},{"id":"Device.serialNumber","path":"Device.serialNumber","max":"0"},{"id":"Device.deviceName","path":"Device.deviceName","min":1,"max":"1"},{"id":"Device.deviceName.id","path":"Device.deviceName.id","max":"0"},{"id":"Device.deviceName.extension","path":"Device.deviceName.extension","max":"0"},{"id":"Device.deviceName.modifierExtension","path":"Device.deviceName.modifierExtension","max":"0"},{"id":"Device.deviceName.name","path":"Device.deviceName.name","maxLength":64},{"id":"Device.deviceName.name.id","path":"Device.deviceName.name.id","max":"0"},{"id":"Device.deviceName.name.extension","path":"Device.deviceName.name.extension","max":"0"},{"id":"Device.deviceName.type","path":"Device.deviceName.type","fixedCode":"user-friendly-name"},{"id":"Device.deviceName.type.id","path":"Device.deviceName.type.id","max":"0"},{"id":"Device.deviceName.type.extension","path":"Device.deviceName.type.extension","max":"0"},{"id":"Device.modelNumber","path":"Device.modelNumber","max":"0"},{"id":"Device.partNumber","path":"Device.partNumber","max":"0"},{"id":"Device.type","path":"Device.type","max":"0"},{"id":"Device.specialization","path":"Device.specialization","max":"0"},{"id":"Device.version","path":"Device.version","max":"1"},{"id":"Device.version.id","path":"Device.version.id","max":"0"},{"id":"Device.version.extension","path":"Device.version.extension","max":"0"},{"id":"Device.version.modifierExtension","path":"Device.version.modifierExtension","max":"0"},{"id":"Device.version.type","path":"Device.version.type","max":"0"},{"id":"Device.version.component","path":"Device.version.component","max":"0"},{"id":"Device.version.value","path":"Device.version.value","maxLength":32},{"id":"Device.version.value.id","path":"Device.version.value.id","max":"0"},{"id":"Device.version.value.extension","path":"Device.version.value.extension","max":"0"},{"id":"Device.property","path":"Device.property","max":"0"},{"id":"Device.patient","path":"Device.patient","max":"0"},{"id":"Device.owner","path":"Device.owner","max":"0"},{"id":"Device.contact","path":"Device.contact","max":"0"},{"id":"Device.location","path":"Device.location","max":"0"},{"id":"Device.url","path":"Device.url","max":"0"},{"id":"Device.note","path":"Device.note","max":"0"},{"id":"Device.safety","path":"Device.safety","max":"0"},{"id":"Device.parent","path":"Device.parent","max":"0"}]}}
